patch-1.3.48 linux/include/asm-i386/processor.h

Next file: linux/include/asm-i386/termios.h
Previous file: linux/include/asm-i386/pgtable.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.47/linux/include/asm-i386/processor.h linux/include/asm-i386/processor.h
@@ -124,6 +124,9 @@
 	NULL, 0, 0, 0, 0 /* vm86_info */ \
 }
 
+#define alloc_kernel_stack()    get_free_page(GFP_KERNEL)
+#define free_kernel_stack(page) free_page((page))
+
 static inline void start_thread(struct pt_regs * regs, unsigned long eip, unsigned long esp)
 {
 	regs->cs = USER_CS;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this