patch-2.4.13 linux/arch/arm/kernel/entry-common.S

Next file: linux/arch/arm/kernel/entry-header.S
Previous file: linux/arch/arm/kernel/entry-armv.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.12/linux/arch/arm/kernel/entry-common.S linux/arch/arm/kernel/entry-common.S
@@ -123,9 +123,8 @@
 	.align	5
 ENTRY(vector_swi)
 	save_user_regs
-	mask_pc	lr, lr
 	zero_fp
-	ldr	scno, [lr, #-4]			@ get SWI instruction
+	get_scno
 	arm710_bug_check scno, ip
 
 #ifdef CONFIG_ALIGNMENT_TRAP

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