patch-2.4.0-test7 linux/arch/arm/kernel/entry-armo.S

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

diff -u --recursive --new-file v2.4.0-test6/linux/arch/arm/kernel/entry-armo.S linux/arch/arm/kernel/entry-armo.S
@@ -38,17 +38,6 @@
 
 		.text
 
-@ Offsets into task structure
-@ ---------------------------
-@
-#define STATE		0
-#define COUNTER		4
-#define PRIORITY	8
-#define FLAGS		12
-#define SIGPENDING	16
-
-#define PF_TRACESYS	0x20
-
 @ Bad Abort numbers
 @ -----------------
 @
@@ -58,12 +47,6 @@
 #define BAD_IRQ		3
 #define BAD_UNDEFINSTR	4
 
-@ OS version number used in SWIs
-@  RISC OS is 0
-@  RISC iX is 8
-@
-#define OS_NUMBER	9
-
 @
 @ Stack format (ensured by USER_* and SVC_*)
 @
@@ -456,6 +439,7 @@
 		orr	lr, lr, #0x08000003		@ Force SVC
 		bne	do_IRQ
 		mov	r4, #0
+		get_current_task r5
 		b	ret_with_reschedule
 
 		irq_prio_table

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