From d46142c38c92297c6db2ef6a89b1ea01fad7c150 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 14 Mar 2010 17:00:47 +0100 Subject: Fix Xen build without kdb * xen/console.c (hypcnintr): Use #if MACH_KDB instead of #ifdef MACH_KDB. --- xen/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3