patch-2.1.30 linux/arch/alpha/kernel/entry.S
Next file: linux/arch/alpha/kernel/process.c
Previous file: linux/arch/alpha/kernel/alpha_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Tue Mar 18 10:44:31 1997
- Orig file:
v2.1.29/linux/arch/alpha/kernel/entry.S
- Orig date:
Tue Mar 4 10:25:23 1997
diff -u --recursive --new-file v2.1.29/linux/arch/alpha/kernel/entry.S linux/arch/alpha/kernel/entry.S
@@ -526,14 +526,9 @@
ret_from_sys_call:
cmovne $26,0,$19 /* $19 = 0 => non-restartable */
/* check bottom half interrupts */
- lda $0,intr_count
- ldl $1,0($0)
bne $1,ret_from_handle_bh
- lda $2,bh_active
- ldq $3,0($2)
- lda $2,bh_mask
- ldq $4,0($2)
- addq $1,1,$1
+ ldq $3,bh_active
+ ldq $4,bh_mask
and $3,$4,$2
bne $2,handle_bottom_half
ret_from_handle_bh:
@@ -618,20 +613,13 @@
.align 3
handle_bottom_half:
- /*
- * We're called with $0 containing the address of
- * 'intr_count' and $1 containing 'intr_count+1'
- */
- stl $1,0($0) /* intr_count = 1 */
subq $30,16,$30
stq $19,0($30) /* save syscall nr */
stq $20,8($30) /* and error indication (a3) */
jsr $26,do_bottom_half
- lda $0,intr_count
ldq $19,0($30)
ldq $20,8($30)
addq $30,16,$30
- stl $31,0($0) /* intr_count = 0 */
br $31,ret_from_handle_bh
.align 3
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]