summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/kgdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/kgdb.h')
-rw-r--r--arch/arm/include/asm/kgdb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/kgdb.h b/arch/arm/include/asm/kgdb.h
index 3b73fdcf3627..8de1100d1067 100644
--- a/arch/arm/include/asm/kgdb.h
+++ b/arch/arm/include/asm/kgdb.h
@@ -77,7 +77,7 @@ extern int kgdb_fault_expected;
#define KGDB_MAX_NO_CPUS 1
#define BUFMAX 400
-#define NUMREGBYTES (DBG_MAX_REG_NUM << 2)
+#define NUMREGBYTES (GDB_MAX_REGS << 2)
#define NUMCRITREGBYTES (32 << 2)
#define _R0 0
OpenPOWER on IntegriCloud