Alpha scheduler doesn't

Mikolaj J. Habryn (dichro-750d5f9@rcpt.to)
09 Oct 1998 17:50:14 +0800


I'm having a small problem with my Miata. Specifically, code loops
like for(;;) lock up the machine. More interestingly, so does
for(;getpid();). The line at fault (or, at any rate, the line whose
removal appears to resolve the problem) is:

--- linux-2.1.124/arch/alpha/kernel/entry.S.orig Fri Oct 9 17:26:52 1998
+++ linux-2.1.124/arch/alpha/kernel/entry.S Fri Oct 9 17:32:44 1998
@@ -552,7 +552,6 @@
ret_from_sys_call:
cmovne $26,0,$19 /* $19 = 0 => non-restartable */
/* check bottom half interrupts */
- bne $1,ret_from_handle_bh
ldq $3,bh_active
ldq $4,bh_mask
and $3,$4,$2

I don't know if this is the best solution; I have no idea what that
line is intended to do. $1 is an unpreserved scratch register (?), and
nothing sets it in that vicinity. Possibly meant to be $0, but
do_entInt and all the interrupt handlers return void, so perhaps not.

m.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/