Skip to contentSkip to conversation

sparc64 fix for 2.4.13-ac2

PATCH In review Mike Warren 2 participants 2 messages Oct 26, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc64 fix for 2.4.13-ac2

sparc64 compiles of recent ac kernels are failing due to a missing #define of INIT_MMAP. This code was removed in patch-2.4.10, but was also erroneously removed from the ac branch where it is still required.

Mike

*** linux-2.4.13-ac2/include/asm-sparc64/processor.h Thu Oct 11 06:42:47 2001
--- linux/include/asm-sparc64/processor.h Fri Oct 26 18:16:14 2001
***************
*** 88,93 ****
--- 88,96 ----
#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,			\
#1 lore raw
Quoted 3 lines

sparc64 compiles of recent ac kernels are failing due to a missing #define of INIT_MMAP. This code was removed in patch-2.4.10, but was also erroneously removed from the ac branch where it is still required.

Thanks I'll fold that into -ac