summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-03-14 17:00:47 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2010-03-14 17:00:47 +0100
commitd46142c38c92297c6db2ef6a89b1ea01fad7c150 (patch)
treef123366c53ca99d479900f9797dfc26aa32e35b1
parentcab7658d901a4a211734a62e642c59993da68301 (diff)
Fix Xen build without kdb
* xen/console.c (hypcnintr): Use #if MACH_KDB instead of #ifdef MACH_KDB.
-rw-r--r--xen/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/console.c b/xen/console.c
index a289b8e..9798ec0 100644
--- a/xen/console.c
+++ b/xen/console.c
@@ -111,7 +111,7 @@ static void hypcnintr(int unit, spl_t spl, void *ret_addr, void *regs) {
int c = hyp_ring_cell(console->in, console->in_cons);
mb();
console->in_cons++;
-#ifdef MACH_KDB
+#if MACH_KDB
if (c == (char)'£') {
printf("£ pressed\n");
kdb_kintr();