lib_ppc/interrupts.c: make board_show_activity() a weak function
[platform/kernel/u-boot.git] / lib_ppc / kgdb.c
index cef35d3..78c2f0c 100644 (file)
@@ -1,7 +1,7 @@
 #include <common.h>
 #include <command.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
 
 #include <kgdb.h>
 #include <asm/signal.h>
@@ -320,7 +320,7 @@ kgdb_breakpoint(int argc, char *argv[])
 {
        asm("   .globl breakinst\n\
             breakinst: .long 0x7d821008\n\
-            ");
+           ");
 }
 
-#endif /* CFG_CMD_KGDB */
+#endif