public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c273e8
)
zx128: still hunting swap bugs
author
Alan Cox
<alan@linux.intel.com>
Sun, 26 Apr 2015 21:52:54 +0000
(22:52 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 26 Apr 2015 21:52:54 +0000
(22:52 +0100)
Kernel/platform-zx128/bank128.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-zx128/bank128.c
b/Kernel/platform-zx128/bank128.c
index
d856672
..
0a2823e
100644
(file)
--- a/
Kernel/platform-zx128/bank128.c
+++ b/
Kernel/platform-zx128/bank128.c
@@
-70,6
+70,8
@@
int swapout(ptptr p)
/* We mever swap the live process so the second page is always
page 6 */
+ if (low_bank == p)
+ panic("swapout");
/* Are we out of swap ? */
map = swapmap_alloc();