Re: [MIPS] Handle IDE PIO cache aliases on SMP.

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

 



On Wed, 05 Apr 2006 20:31:05 +0100, linux-mips@xxxxxxxxxxxxxx wrote:
> Author: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Wed Apr 5 20:42:04 2006 +0100
> Commit: 7310307e37090796c2d343e46dc34b452f0a5d1c
> Gitweb: http://www.linux-mips.org/g/linux/7310307e
> Branch: master

It seems overkill for UP.  How about adding ifdef like this?

static inline void __ide_flush_prologue(void)
{
#ifdef CONFIG_SMP
      if (cpu_has_dc_aliases)
               preempt_disable();
#endif
}

---
Atsushi Nemoto


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

  Powered by Linux