Re: Suspicious test in dma-default.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 31, 2007 at 11:03:14AM +0200, Maxime Bizon wrote:

> I don't know exactly why cpu_is_noncoherent_r10000() is needed, but the
> test looks wrong:
> 
> 	return !plat_device_is_coherent(dev) &&
> 	       (current_cpu_data.cputype == CPU_R10000 &&
> 	       current_cpu_data.cputype == CPU_R12000);

I guess a processor need to be quite shizophrenic to pass this test ;-)

Patch applied, thanks.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux