summaryrefslogtreecommitdiff
path: root/lib_ppc/kgdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_ppc/kgdb.c')
-rw-r--r--lib_ppc/kgdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_ppc/kgdb.c b/lib_ppc/kgdb.c
index 4c5d79a..78c2f0c 100644
--- a/lib_ppc/kgdb.c
+++ b/lib_ppc/kgdb.c
@@ -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>
@@ -323,4 +323,4 @@ kgdb_breakpoint(int argc, char *argv[])
");
}
-#endif /* CFG_CMD_KGDB */
+#endif