patch-2.2.9 linux/fs/proc/array.c
Next file: linux/include/asm-arm/arch-ebsa285/irq.h
Previous file: linux/fs/hfs/super.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue May 11 16:30:35 1999
- Orig file:
v2.2.8/linux/fs/proc/array.c
- Orig date:
Tue May 11 13:10:31 1999
diff -u --recursive --new-file v2.2.8/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -567,7 +567,7 @@
}
} while (count++ < 16);
}
-#elif defined (CONFIG_ARM)
+#elif defined(__arm__)
{
unsigned long fp, lr;
unsigned long stack_page;
@@ -623,7 +623,7 @@
# define KSTK_EIP(tsk) \
(*(unsigned long *)(PT_REG(pc) + PAGE_SIZE + (unsigned long)(tsk)))
# define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->tss.usp)
-#elif defined(CONFIG_ARM)
+#elif defined(__arm__)
# define KSTK_EIP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1022])
# define KSTK_ESP(tsk) (((unsigned long *)(4096+(unsigned long)(tsk)))[1020])
#elif defined(__mc68000__)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)