public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea75fb6
)
preemption: rabbit also needs the fix
author
Alan Cox
<alan@linux.intel.com>
Mon, 21 Jan 2019 22:19:59 +0000
(22:19 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 21 Jan 2019 22:19:59 +0000
(22:19 +0000)
Kernel/lowlevel-rabbit.s
patch
|
blob
|
history
diff --git
a/Kernel/lowlevel-rabbit.s
b/Kernel/lowlevel-rabbit.s
index
3d04d7f
..
9d1b926
100644
(file)
--- a/
Kernel/lowlevel-rabbit.s
+++ b/
Kernel/lowlevel-rabbit.s
@@
-490,7
+490,11
@@
preemption:
; Process status is offset 0
;
ld hl, (U_DATA__U_PTAB)
+ ld a,(hl)
+ cp #P_RUNNING
+ jr nz, not_running
ld (hl), #P_READY
+not_running:
call _platform_switchout
;
; We are no longer in an interrupt or a syscall