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:
f088fc8
)
[MIPS] kgdb: Let gcc compute the array size itself.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 5 Apr 2006 08:45:48 +0000
(09:45 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 19 Apr 2006 02:14:28 +0000
(
04:14
+0200)
This is the same method as used in the serial driver.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/generic/gdb_hook.c
patch
|
blob
|
history
diff --git
a/arch/mips/mips-boards/generic/gdb_hook.c
b/arch/mips/mips-boards/generic/gdb_hook.c
index 91a2ccbe3730e3cfafd15908f0b8e1d766755b6d..6a1854de45799e40d91efa03f8385eecdbdb617b 100644
(file)
--- a/
arch/mips/mips-boards/generic/gdb_hook.c
+++ b/
arch/mips/mips-boards/generic/gdb_hook.c
@@
-25,7
+25,7
@@
#include <asm/serial.h>
#include <asm/io.h>
-static struct serial_state rs_table[
RS_TABLE_SIZE
] = {
+static struct serial_state rs_table[] = {
SERIAL_PORT_DFNS /* Defined in serial.h */
};