diff options
author | Wolfgang Ocker <weo@reccoware.de> | 2008-02-10 20:31:33 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-03-12 14:14:40 +0000 |
commit | 0ec734c2b8b005667ffdaef8610d1024630683b0 (patch) | |
tree | 8e39253f9d521bb45bf59546a8c15eb41246cb11 /arch/mips/kernel/traps.c | |
parent | baadac8b10c5ac15ce3d26b68fa266c8889b163f (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