OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
91a2ccb
..
6a1854d
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 */
};