--- 2.4.10pre2aa1/arch/arm/kernel/init_task.c.~1~ Thu Nov 16 15:37:26 2000 +++ 2.4.10pre2aa1/arch/arm/kernel/init_task.c Thu Aug 30 03:43:11 2001 @@ -9,7 +9,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/cris/kernel/process.c.~1~ Sat Aug 11 08:03:53 2001 +++ 2.4.10pre2aa1/arch/cris/kernel/process.c Thu Aug 30 03:43:13 2001 @@ -65,7 +65,6 @@ * setup. */ -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/ia64/kernel/init_task.c.~1~ Mon Feb 7 03:42:40 2000 +++ 2.4.10pre2aa1/arch/ia64/kernel/init_task.c Thu Aug 30 03:45:57 2001 @@ -13,7 +13,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/m68k/kernel/process.c.~1~ Thu Feb 22 03:44:54 2001 +++ 2.4.10pre2aa1/arch/m68k/kernel/process.c Thu Aug 30 03:43:17 2001 @@ -38,7 +38,6 @@ * alignment requirements and potentially different initial * setup. */ -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/mips/kernel/init_task.c.~1~ Tue Jul 27 07:41:09 1999 +++ 2.4.10pre2aa1/arch/mips/kernel/init_task.c Thu Aug 30 03:43:19 2001 @@ -4,7 +4,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/mips64/kernel/init_task.c.~1~ Fri Feb 25 07:53:35 2000 +++ 2.4.10pre2aa1/arch/mips64/kernel/init_task.c Thu Aug 30 03:43:24 2001 @@ -4,7 +4,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/parisc/kernel/init_task.c.~1~ Thu Dec 14 22:34:00 2000 +++ 2.4.10pre2aa1/arch/parisc/kernel/init_task.c Thu Aug 30 03:43:27 2001 @@ -6,7 +6,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/ppc/kernel/process.c.~1~ Tue Aug 28 22:19:39 2001 +++ 2.4.10pre2aa1/arch/ppc/kernel/process.c Thu Aug 30 03:43:36 2001 @@ -48,7 +48,6 @@ struct task_struct *last_task_used_math = NULL; struct task_struct *last_task_used_altivec = NULL; -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/s390/kernel/init_task.c.~1~ Fri May 12 20:41:44 2000 +++ 2.4.10pre2aa1/arch/s390/kernel/init_task.c Thu Aug 30 03:43:39 2001 @@ -12,7 +12,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/s390x/kernel/init_task.c.~1~ Thu Feb 22 03:44:55 2001 +++ 2.4.10pre2aa1/arch/s390x/kernel/init_task.c Thu Aug 30 03:43:41 2001 @@ -12,7 +12,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/sh/kernel/init_task.c.~1~ Tue Aug 31 03:12:59 1999 +++ 2.4.10pre2aa1/arch/sh/kernel/init_task.c Thu Aug 30 03:43:44 2001 @@ -5,7 +5,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/sparc/kernel/init_task.c.~1~ Tue Jul 27 07:41:09 1999 +++ 2.4.10pre2aa1/arch/sparc/kernel/init_task.c Thu Aug 30 03:43:46 2001 @@ -4,7 +4,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/arch/sparc64/kernel/init_task.c.~1~ Tue May 1 19:35:21 2001 +++ 2.4.10pre2aa1/arch/sparc64/kernel/init_task.c Thu Aug 30 03:43:47 2001 @@ -4,7 +4,6 @@ #include #include -static struct vm_area_struct init_mmap = INIT_MMAP; static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS; --- 2.4.10pre2aa1/include/asm-arm/processor.h.~1~ Thu Aug 16 22:03:39 2001 +++ 2.4.10pre2aa1/include/asm-arm/processor.h Thu Aug 30 03:43:56 2001 @@ -68,13 +68,6 @@ EXTRA_THREAD_STRUCT }; -#define INIT_MMAP { \ - vm_mm: &init_mm, \ - vm_page_prot: PAGE_SHARED, \ - vm_flags: VM_READ | VM_WRITE | VM_EXEC, \ - vm_avl_height: 1, \ -} - #define INIT_THREAD { \ refcount: ATOMIC_INIT(1), \ EXTRA_THREAD_STRUCT_INIT \ --- 2.4.10pre2aa1/include/asm-cris/processor.h.~1~ Sat Aug 11 08:04:23 2001 +++ 2.4.10pre2aa1/include/asm-cris/processor.h Thu Aug 30 03:44:12 2001 @@ -77,16 +77,6 @@ #define current_regs() user_regs(current) -/* INIT_MMAP is the kernels map of memory, between KSEG_C and KSEG_D */ - -#ifdef CONFIG_CRIS_LOW_MAP -#define INIT_MMAP { &init_mm, KSEG_6, KSEG_7, NULL, PAGE_SHARED, \ - VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } -#else -#define INIT_MMAP { &init_mm, KSEG_C, KSEG_D, NULL, PAGE_SHARED, \ - VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } -#endif - #define INIT_THREAD { \ 0, 0, 0x20 } /* ccr = int enable, nothing else */ --- 2.4.10pre2aa1/include/asm-ia64/processor.h.~1~ Sat Aug 11 08:04:25 2001 +++ 2.4.10pre2aa1/include/asm-ia64/processor.h Thu Aug 30 03:44:26 2001 @@ -364,11 +364,6 @@ struct ia64_fpreg fph[96]; /* saved/loaded on demand */ }; -#define INIT_MMAP { \ - &init_mm, PAGE_OFFSET, PAGE_OFFSET + 0x10000000, NULL, PAGE_SHARED, \ - VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL \ -} - #define INIT_THREAD { \ 0, /* ksp */ \ 0, /* flags */ \ --- 2.4.10pre2aa1/include/asm-m68k/processor.h.~1~ Tue Jan 2 17:41:22 2001 +++ 2.4.10pre2aa1/include/asm-m68k/processor.h Thu Aug 30 03:44:30 2001 @@ -78,8 +78,6 @@ unsigned char fpstate[FPSTATESIZE]; /* floating point state */ }; -#define INIT_MMAP { &init_mm, 0, 0x40000000, NULL, __pgprot(_PAGE_PRESENT|_PAGE_ACCESSED), VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } - #define INIT_THREAD { \ sizeof(init_stack) + (unsigned long) init_stack, 0, \ PS_S, __KERNEL_DS, \ --- 2.4.10pre2aa1/include/asm-mips/processor.h.~1~ Wed Jul 4 04:03:47 2001 +++ 2.4.10pre2aa1/include/asm-mips/processor.h Thu Aug 30 03:44:34 2001 @@ -171,9 +171,6 @@ #endif /* !defined (_LANGUAGE_ASSEMBLY) */ -#define INIT_MMAP { &init_mm, KSEG0, KSEG1, NULL, PAGE_SHARED, \ - VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } - #define INIT_THREAD { \ /* \ * saved main processor registers \ --- 2.4.10pre2aa1/include/asm-mips64/processor.h.~1~ Sat Jul 21 00:04:30 2001 +++ 2.4.10pre2aa1/include/asm-mips64/processor.h Thu Aug 30 03:44:37 2001 @@ -198,9 +198,6 @@ #endif /* !defined (_LANGUAGE_ASSEMBLY) */ -#define INIT_MMAP { &init_mm, KSEG0, KSEG1, NULL, PAGE_SHARED, \ - VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } - #define INIT_THREAD { \ /* \ * saved main processor registers \ --- 2.4.10pre2aa1/include/asm-parisc/processor.h.~1~ Tue Jan 2 17:41:22 2001 +++ 2.4.10pre2aa1/include/asm-parisc/processor.h Thu Aug 30 03:44:40 2001 @@ -107,9 +107,6 @@ /* Thread struct flags. */ #define PARISC_KERNEL_DEATH (1UL << 31) /* see die_if_kernel()... */ -#define INIT_MMAP { &init_mm, 0, 0, NULL, PAGE_SHARED, \ - VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } - #define INIT_THREAD { { \ { 0, 0, 0, 0, 0, 0, 0, 0, \ 0, 0, 0, 0, 0, 0, 0, 0, \ --- 2.4.10pre2aa1/include/asm-ppc/processor.h.~1~ Tue Aug 28 22:19:41 2001 +++ 2.4.10pre2aa1/include/asm-ppc/processor.h Thu Aug 30 03:44:50 2001 @@ -621,14 +621,6 @@ } /* - * Note: the vm_start and vm_end fields here should *not* - * be in kernel space. (Could vm_end == vm_start perhaps?) - */ -#define INIT_MMAP { &init_mm, 0, 0x1000, NULL, \ - PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, \ - 1, NULL, NULL } - -/* * Return saved PC of a blocked thread. For now, this is the "user" PC */ static inline unsigned long thread_saved_pc(struct thread_struct *t) --- 2.4.10pre2aa1/include/asm-s390/processor.h.~1~ Sat Aug 11 08:04:26 2001 +++ 2.4.10pre2aa1/include/asm-s390/processor.h Thu Aug 30 03:44:54 2001 @@ -95,10 +95,6 @@ typedef struct thread_struct thread_struct; -#define INIT_MMAP \ -{ &init_mm, 0, 0, NULL, PAGE_SHARED, \ -VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } - #define INIT_THREAD { (struct pt_regs *) 0, \ { 0,{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}, \ {0},{0},{0},{0},{0},{0}}}, \ --- 2.4.10pre2aa1/include/asm-s390x/processor.h.~1~ Sat Aug 11 08:04:29 2001 +++ 2.4.10pre2aa1/include/asm-s390x/processor.h Thu Aug 30 03:44:58 2001 @@ -99,10 +99,6 @@ typedef struct thread_struct thread_struct; -#define INIT_MMAP \ -{ &init_mm, 0, 0, NULL, PAGE_SHARED, \ -VM_READ | VM_WRITE | VM_EXEC, 1, NULL,NULL } - #define INIT_THREAD { (struct pt_regs *) 0, \ { 0,{{0},{0},{0},{0},{0},{0},{0},{0},{0},{0}, \ {0},{0},{0},{0},{0},{0}}}, \ --- 2.4.10pre2aa1/include/asm-sh/processor.h.~1~ Wed Jul 4 04:03:47 2001 +++ 2.4.10pre2aa1/include/asm-sh/processor.h Thu Aug 30 03:45:01 2001 @@ -114,9 +114,6 @@ union sh_fpu_union fpu; }; -#define INIT_MMAP \ -{ &init_mm, 0, 0, NULL, PAGE_SHARED, VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } - #define INIT_THREAD { \ sizeof(init_stack) + (long) &init_stack, /* sp */ \ 0, /* pc */ \ --- 2.4.10pre2aa1/include/asm-sparc/processor.h.~1~ Tue May 1 19:35:32 2001 +++ 2.4.10pre2aa1/include/asm-sparc/processor.h Thu Aug 30 03:45:05 2001 @@ -91,9 +91,6 @@ #define SPARC_FLAG_KTHREAD 0x1 /* task is a kernel thread */ #define SPARC_FLAG_UNALIGNED 0x2 /* is allowed to do unaligned accesses */ -#define INIT_MMAP { &init_mm, (0), (0), \ - NULL, __pgprot(0x0) , VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } - #define INIT_THREAD { \ /* uwinmask, kregs, ksp, kpc, kpsr, kwim */ \ 0, 0, 0, 0, 0, 0, \ --- 2.4.10pre2aa1/include/asm-sparc64/processor.h.~1~ Tue May 1 19:35:32 2001 +++ 2.4.10pre2aa1/include/asm-sparc64/processor.h Thu Aug 30 03:45:09 2001 @@ -85,9 +85,6 @@ #define FAULT_CODE_ITLB 0x04 /* Miss happened in I-TLB */ #define FAULT_CODE_WINFIXUP 0x08 /* Miss happened during spill/fill */ -#define INIT_MMAP { &init_mm, 0xfffff80000000000, 0xfffff80001000000, \ - NULL, PAGE_SHARED , VM_READ | VM_WRITE | VM_EXEC, 1, NULL, NULL } - #define INIT_THREAD { \ /* ksp, wstate, cwp, flags, current_ds, */ \ 0, 0, 0, 0, KERNEL_DS, \