FreeBSD doesn't use a want_resched variable. Instead, the PS_NEEDRESCHED
p_sflag is managed in a MI fashion.
This commit is contained in:
parent
a6314641a4
commit
bf3db3eacb
@ -157,11 +157,6 @@ ENTRY(cpu_switch)
|
||||
bl chooseproc
|
||||
|
||||
1:
|
||||
/* just did this resched thing */
|
||||
xor 3,3,3
|
||||
lis 4,want_resched@ha
|
||||
stw 3,want_resched@l(4)
|
||||
|
||||
/* record new process */
|
||||
mfsprg 4,0
|
||||
stw 3,GD_CURPROC(4)
|
||||
|
@ -157,11 +157,6 @@ ENTRY(cpu_switch)
|
||||
bl chooseproc
|
||||
|
||||
1:
|
||||
/* just did this resched thing */
|
||||
xor 3,3,3
|
||||
lis 4,want_resched@ha
|
||||
stw 3,want_resched@l(4)
|
||||
|
||||
/* record new process */
|
||||
mfsprg 4,0
|
||||
stw 3,GD_CURPROC(4)
|
||||
|
@ -157,11 +157,6 @@ ENTRY(cpu_switch)
|
||||
bl chooseproc
|
||||
|
||||
1:
|
||||
/* just did this resched thing */
|
||||
xor 3,3,3
|
||||
lis 4,want_resched@ha
|
||||
stw 3,want_resched@l(4)
|
||||
|
||||
/* record new process */
|
||||
mfsprg 4,0
|
||||
stw 3,GD_CURPROC(4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user