diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-30 17:41:22 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-06-30 17:41:22 -0400 |
commit | 44454bcdb90532b372c74e3546043d8a3a468939 (patch) | |
tree | 823fa555fe7c419c4cbc0616fff5b6dadd4d81fa /kernel/sched.c | |
parent | 9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 (diff) |
[PATCH] Serial: Fix small CONFIG_SERIAL_8250_NR_UARTS
If CONFIG_SERIAL_8250_NR_UARTS is smaller than the array size in
asm/serial.h, we trampled on memory which wasn't ours. Take our
big boots away by limiting the number of ports initialised to the
smaller of ...NR_UARTS and the array size.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'kernel/sched.c')
0 files changed, 0 insertions, 0 deletions