patch-2.1.97 linux/arch/sparc/kernel/sclow.S

Next file: linux/arch/sparc/kernel/setup.c
Previous file: linux/arch/sparc/kernel/rtrap.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.96/linux/arch/sparc/kernel/sclow.S linux/arch/sparc/kernel/sclow.S
@@ -11,6 +11,7 @@
 #include <asm/errno.h>
 #include <asm/winmacro.h>
 #include <asm/psr.h>
+#include <asm/page.h>
 
 #define CC_AND_RETT  \
 	set	PSR_C, %l4; \
@@ -94,7 +95,7 @@
 
 	.globl	LABEL(getpagesize)
 LABEL(getpagesize):
-	set	4096, %i0
+	set	PAGE_SIZE, %i0
 	CC_AND_RETT
 
 	/* XXX sys_nice() XXX */

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