patch-2.1.101 linux/include/asm-ppc/processor.h

Next file: linux/include/asm-ppc/serial.h
Previous file: linux/include/asm-ppc/pmu.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/include/asm-ppc/processor.h linux/include/asm-ppc/processor.h
@@ -234,7 +234,8 @@
 /* This decides where the kernel will search for a free chunk of vm
  * space during mmap's.
  */
-#define TASK_UNMAPPED_BASE     (TASK_SIZE / 8 * 3)
+#define TASK_UNMAPPED_BASE(off)	(TASK_SIZE / 8 * 3)
+#define TASK_UNMAPPED_ALIGN(addr, off)	PAGE_ALIGN(addr)
 
 #define COPY_TASK_STRUCT(dst, src) 	\
 do {					\
@@ -284,6 +285,9 @@
 {
 	return (t->regs) ? t->regs->nip : 0;
 }
+
+#define copy_segments(nr, tsk, mm)	do { } while (0)
+#define release_segments(mm)		do { } while (0)
 
 /*
  * NOTE! The task struct and the stack go together

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov