commit | 56f621c7f6f735311eed3f36858b402013023c18 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Mon Oct 15 01:00:06 2007 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Tue Oct 16 18:23:48 2007 +0100 |
tree | 0aea37bf1b830f029ebca99d2608deec33b7516c | |
parent | 41bd61a8e357f79dc65502b22d9d124a619491c0 [diff] [blame] |
[MIPS] Alchemy: Get rid of au_ffs(). It was plain a bad idea ... Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
diff --git a/arch/mips/au1000/common/dbdma.c b/arch/mips/au1000/common/dbdma.c index 461cf01..9d6ad43 100644 --- a/arch/mips/au1000/common/dbdma.c +++ b/arch/mips/au1000/common/dbdma.c
@@ -859,7 +859,7 @@ intstat = dbdma_gptr->ddma_intstat; au_sync(); - chan_index = au_ffs(intstat) - 1; + chan_index = ffs(intstat); ctp = chan_tab_ptr[chan_index]; cp = ctp->chan_ptr;