projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92fa5bd
)
ARM: 6326/1: kgdb: fix GDB_MAX_REGS no longer used
author
eric miao
<
[email protected]
>
Thu, 12 Aug 2010 15:43:00 +0000
(16:43 +0100)
committer
Russell King
<
[email protected]
>
Sat, 14 Aug 2010 08:28:35 +0000
(09:28 +0100)
According to commit
22eeef4bb2a7fd225089c0044060ed1fbf091958
kgdb,arm: Individual register get/set for arm
It's now replaced by DBG_MAX_REG_NUM.
Cc: Jason Wessel <
[email protected]
>
Signed-off-by: Eric Miao <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
arch/arm/kernel/kgdb.c
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/kgdb.c
b/arch/arm/kernel/kgdb.c
index 778c2f7024ff57304227ce67665e749f39b05fc7..d6e8b4d2e60dacde3ceff47584fe43b75ddb496d 100644
(file)
--- a/
arch/arm/kernel/kgdb.c
+++ b/
arch/arm/kernel/kgdb.c
@@
-79,7
+79,7
@@
sleeping_thread_to_gdb_regs(unsigned long *gdb_regs, struct task_struct *task)
return;
/* Initialize to zero */
- for (regno = 0; regno <
GDB_MAX_REGS
; regno++)
+ for (regno = 0; regno <
DBG_MAX_REG_NUM
; regno++)
gdb_regs[regno] = 0;
/* Otherwise, we have only some registers from switch_to() */