Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[MIPS] kgdb: Let gcc compute the array size itself.

This is the same method as used in the serial driver.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+1 -1
+1 -1
arch/mips/mips-boards/generic/gdb_hook.c
··· 25 25 #include <asm/serial.h> 26 26 #include <asm/io.h> 27 27 28 - static struct serial_state rs_table[RS_TABLE_SIZE] = { 28 + static struct serial_state rs_table[] = { 29 29 SERIAL_PORT_DFNS /* Defined in serial.h */ 30 30 }; 31 31