public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026834d
)
bank16k: first small fix to move towards working 16k bank swap
author
Brett Gordon
<beretta42@gmail.com>
Sun, 26 Jul 2015 12:19:27 +0000
(13:19 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 26 Jul 2015 12:22:08 +0000
(13:22 +0100)
Kernel/bank16k.c
patch
|
blob
|
history
diff --git
a/Kernel/bank16k.c
b/Kernel/bank16k.c
index
c7f7e31
..
decb25e
100644
(file)
--- a/
Kernel/bank16k.c
+++ b/
Kernel/bank16k.c
@@
-177,7
+177,7
@@
int swapout(ptptr p)
uint16_t i;
uint8_t *pt = (uint8_t *)&p->p_page;
- if (page)
+ if (
!
page)
panic("process already swapped!\n");
#ifdef DEBUG
kprintf("Swapping out %x (%d)\n", p, p->p_page);