summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/traps.c
diff options
context:
space:
mode:
authorWolfgang Ocker <weo@reccoware.de>2008-02-10 20:31:33 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-03-12 14:14:40 +0000
commit0ec734c2b8b005667ffdaef8610d1024630683b0 (patch)
tree8e39253f9d521bb45bf59546a8c15eb41246cb11 /arch/mips/kernel/traps.c
parentbaadac8b10c5ac15ce3d26b68fa266c8889b163f (diff)
[MIPS] Alchemy: Fix ids in Alchemy db dma device table
0 is a valid device id (DSCR_CMD0_UART0_TX), so we can't use it to mark an empty entry in the device table. Use ~0 instead and search for id ~0 when looking for a free entry. Signed-off-by: Wolfgang Ocker <weo@reccoware.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions