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 | 693a1da9cf81cd8c7e27e6d38e8c3e0a06f63f8e (patch) | |
tree | 57a44f8cbfad3642084b8e3d092e230b8f7e7198 /src/arch/x86 | |
parent | ae68d13e1c368d9f3be516f92b5f6ed0478910a7 (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/x86')
-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 20917b6f4..91525d593 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 e39fe8fd0..3f6420974 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 |