From 3bbfaa2361d55db32abca8716f5c84fdbd28bbee Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 25 Nov 2018 01:46:37 +0000 Subject: [PATCH] zxdiv: add a missing ifdef DEBUG --- Kernel/platform-zxdiv/bank128.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Kernel/platform-zxdiv/bank128.c b/Kernel/platform-zxdiv/bank128.c index d04a051c..d40b7ce1 100644 --- a/Kernel/platform-zxdiv/bank128.c +++ b/Kernel/platform-zxdiv/bank128.c @@ -39,7 +39,7 @@ #include #include -#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 */ -- 2.34.1