]> err.no Git - linux-2.6/commitdiff
[PATCH] m68k: fix NBPG define
authorRoman Zippel <zippel@linux-m68k.org>
Fri, 6 Oct 2006 07:43:57 +0000 (00:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Oct 2006 15:53:41 +0000 (08:53 -0700)
The recent header cleanup removed PAGE_SIZE from the exported information as
it depends on the configuration.

BTW This has possibly other consequences, as the core dump code is using
PAGE_SIZE directly, which may need fixing as well.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-m68k/user.h

index e8d5a64c7e798ef0486eab2109a57a8e5b060099..d7c0b109bd457c55d2baeb80132a1bad6b8f9ff6 100644 (file)
@@ -81,7 +81,7 @@ struct user{
   unsigned long magic;         /* To uniquely identify a core file */
   char u_comm[32];             /* User command that was responsible */
 };
-#define NBPG PAGE_SIZE
+#define NBPG 4096
 #define UPAGES 1
 #define HOST_TEXT_START_ADDR (u.start_code)
 #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)