patch-2.3.40 linux/arch/ppc/kernel/entry.S
Next file: linux/arch/ppc/kernel/head.S
Previous file: linux/arch/ppc/defconfig
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Thu Jan 13 18:03:57 2000
- Orig file:
v2.3.39/linux/arch/ppc/kernel/entry.S
- Orig date:
Tue Jan 11 22:31:37 2000
diff -u --recursive --new-file v2.3.39/linux/arch/ppc/kernel/entry.S linux/arch/ppc/kernel/entry.S
@@ -265,30 +265,20 @@
SYNC
rfi
-/*
- * ret_from_int():
- *
- * Return from an interrupt (external interrupt and
- * decrementer). This checks the first argument so
- * we know if rtl_intercept wants us to check for
- * a bottom half, signals and so on (normal return) or
- * we're returning from a real-time interrupt or have
- * interrupts soft disabled so we cannot enter Linux.
- * -- Cort
- */
- .globl ret_from_int
-ret_from_int:
- cmpi 0,r3,0
- beq 10f
- /* we're allowed to do signal/bh checks */
- b ret_from_syscall
#ifdef __SMP__
.globl ret_from_smpfork
ret_from_smpfork:
bl schedule_tail
+ b ret_from_except
#endif
- .globl ret_from_syscall
-ret_from_syscall:
+ .globl ret_from_intercept
+ret_from_intercept:
+ /*
+ * We may be returning from RTL and cannot do the normal checks
+ * -- Cort
+ */
+ cmpi 0,r3,0
+ beq 10f
.globl ret_from_except
ret_from_except:
0: /* disable interrupts */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)