public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2aedb
)
zxdiv: add a missing ifdef DEBUG
author
Alan Cox
<alan@linux.intel.com>
Sun, 25 Nov 2018 01:46:37 +0000
(
01:46
+0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 25 Nov 2018 01:46:37 +0000
(
01:46
+0000)
Kernel/platform-zxdiv/bank128.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-zxdiv/bank128.c
b/Kernel/platform-zxdiv/bank128.c
index
d04a051
..
d40b7ce
100644
(file)
--- a/
Kernel/platform-zxdiv/bank128.c
+++ b/
Kernel/platform-zxdiv/bank128.c
@@
-39,7
+39,7
@@
#include <kdata.h>
#include <printf.h>
-#
define
DEBUG
+#
undef
DEBUG
/* Kernel is 0, apps are 4 and 3 (top 16K). The live one also has 2 and
the other has 6 */
@@
-150,7
+150,9
@@
void swapin(ptptr p, uint16_t map)
copy it over (we don't want to load and exchange as the
exchange is slower than a copy then loading */
if (low_bank != NULL) {
+#ifdef DEBUG
kprintf("Low page owned by %x\n", low_bank);
+#endif
dup_low_page();
}
/* Load the upper 16K back in including the udata cache */