mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sparc64 fix for 2.4.13-ac2
@ 2001-10-26 18:35 Mike Warren
  2001-10-26 18:47 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Warren @ 2001-10-26 18:35 UTC (permalink / raw)
  To: alan, linux-kernel

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,			\

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-10-26 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-26 18:35 [PATCH] sparc64 fix for 2.4.13-ac2 Mike Warren
2001-10-26 18:47 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®