patch-2.3.49 linux/arch/arm/lib/getconsdata.c

Next file: linux/arch/arm/lib/strrchr.S
Previous file: linux/arch/arm/lib/findbit.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.48/linux/arch/arm/lib/getconsdata.c linux/arch/arm/lib/getconsdata.c
@@ -91,3 +91,5 @@
 unsigned long KSWI_BASE = 0x900000;
 unsigned long KSWI_SYS_BASE = 0x9f0000;
 unsigned long SYS_ERROR0 = 0x9f0000;
+unsigned long PGOFF_SHIFT = PAGE_SHIFT - 12;
+unsigned long PGOFF_MASK = (1 << (PAGE_SHIFT - 12)) - 1;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)