patch-2.1.101 linux/arch/arm/lib/getconsdata.c
Next file: linux/arch/arm/lib/getconstants.c
Previous file: linux/arch/arm/lib/extractinfo.perl
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri May 8 00:42:38 1998
- Orig file:
v2.1.100/linux/arch/arm/lib/getconsdata.c
- Orig date:
Tue Apr 14 14:29:20 1998
diff -u --recursive --new-file v2.1.100/linux/arch/arm/lib/getconsdata.c linux/arch/arm/lib/getconsdata.c
@@ -10,6 +10,8 @@
#include <asm/pgtable.h>
#include <asm/uaccess.h>
+#undef PAGE_READONLY
+
#define OFF_TSK(n) (unsigned long)&(((struct task_struct *)0)->n)
#define OFF_MM(n) (unsigned long)&(((struct mm_struct *)0)->n)
@@ -31,7 +33,7 @@
unsigned long TSS_MEMMAP = OFF_TSK(tss.memmap);
unsigned long TSS_SAVE = OFF_TSK(tss.save);
unsigned long TSS_FPESAVE = OFF_TSK(tss.fpstate.soft.save);
-#if defined(CONFIG_CPU_ARM2) || defined(CONFIG_CPU_ARM3)
+#ifdef CONFIG_CPU_26
unsigned long TSS_MEMCMAP = OFF_TSK(tss.memcmap);
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov