Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8bce4e9de113e2957c74cc4ce36fbd6eff47d24d
Commit:     8bce4e9de113e2957c74cc4ce36fbd6eff47d24d
Parent:     4af2b1454da7a2feec071a6a50dd957df7d0b7a7
Author:     Maxime Bizon <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 31 11:03:14 2007 +0200
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Tue Sep 11 19:03:25 2007 +0100

    [MIPS] R10000: Fix wrong test in dma-default.c
    
    Signed-off-by: Maxime Bizon <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/mm/dma-default.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c
index 76903c7..f60b3dc 100644
--- a/arch/mips/mm/dma-default.c
+++ b/arch/mips/mm/dma-default.c
@@ -35,7 +35,7 @@ static inline unsigned long dma_addr_to_virt(dma_addr_t 
dma_addr)
 static inline int cpu_is_noncoherent_r10000(struct device *dev)
 {
        return !plat_device_is_coherent(dev) &&
-              (current_cpu_data.cputype == CPU_R10000 &&
+              (current_cpu_data.cputype == CPU_R10000 ||
               current_cpu_data.cputype == CPU_R12000);
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to