patch-2.1.101 linux/arch/arm/kernel/signal.c

Next file: linux/arch/arm/kernel/sys_arm.c
Previous file: linux/arch/arm/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/arch/arm/kernel/signal.c linux/arch/arm/kernel/signal.c
@@ -154,7 +154,7 @@
 	__get_user(regs->ARM_sp, &sc->arm_sp);
 	__get_user(regs->ARM_lr, &sc->arm_lr);
 	__get_user(regs->ARM_pc, &sc->arm_pc);		/* security! */
-#if defined(CONFIG_CPU_ARM6) || defined(CONFIG_CPU_SA110)
+#ifdef CONFIG_CPU_32
 	__get_user(regs->ARM_cpsr, &sc->arm_cpsr);	/* security! */
 #endif
 
@@ -238,7 +238,7 @@
 	__put_user (regs->ARM_sp, &sc->arm_sp);
 	__put_user (regs->ARM_lr, &sc->arm_lr);
 	__put_user (regs->ARM_pc, &sc->arm_pc);		/* security! */
-#if defined(CONFIG_CPU_ARM6) || defined(CONFIG_CPU_SA110)
+#ifdef CONFIG_CPU_32
 	__put_user (regs->ARM_cpsr, &sc->arm_cpsr);	/* security! */
 #endif
 

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