diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2011-04-21 20:45:45 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2011-04-21 20:45:45 +0000 |
commit | d4814bd41c080fb9dda87c762fcaecf4e72fc996 (patch) | |
tree | 57a44f8cbfad3642084b8e3d092e230b8f7e7198 /src/arch | |
parent | 1d888a97849d68a7136da558c3697c7f2a8d898a (diff) |
more ifdef -> if fixes
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6536 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/lib/exception.c | 2 | ||||
-rw-r--r-- | src/arch/x86/lib/ioapic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/lib/exception.c b/src/arch/x86/lib/exception.c index 20917b6f40..91525d5935 100644 --- a/src/arch/x86/lib/exception.c +++ b/src/arch/x86/lib/exception.c @@ -1,7 +1,7 @@ #include <console/console.h> #include <string.h> -#if defined(CONFIG_GDB_STUB) && CONFIG_GDB_STUB == 1 +#if CONFIG_GDB_STUB /* BUFMAX defines the maximum number of characters in inbound/outbound buffers. * At least NUM_REGBYTES*2 are needed for register packets diff --git a/src/arch/x86/lib/ioapic.c b/src/arch/x86/lib/ioapic.c index e39fe8fd0a..3f64209746 100644 --- a/src/arch/x86/lib/ioapic.c +++ b/src/arch/x86/lib/ioapic.c @@ -91,7 +91,7 @@ void setup_ioapic(u32 ioapic_base, u8 ioapic_id) // XXX this decision should probably be made elsewhere, and // it's the C3, not the EPIA this depends on. -#if defined(CONFIG_EPIA_VT8237R_INIT) && CONFIG_EPIA_VT8237R_INIT +#if CONFIG_EPIA_VT8237R_INIT #define IOAPIC_INTERRUPTS_ON_APIC_SERIAL_BUS #else #define IOAPIC_INTERRUPTS_ON_FSB |