linux-mips
[Top] [All Lists]

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

To: linux-mips@linux-mips.org
Subject: Re: [MIPS] Handle IDE PIO cache aliases on SMP.
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Thu, 06 Apr 2006 23:13:23 +0900 (JST)
In-reply-to: <S8133432AbWDETbL/20060405193111Z+63@ftp.linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <S8133432AbWDETbL/20060405193111Z+63@ftp.linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Wed, 05 Apr 2006 20:31:05 +0100, linux-mips@linux-mips.org wrote:
> Author: Ralf Baechle <ralf@linux-mips.org> 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

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [MIPS] Handle IDE PIO cache aliases on SMP., Atsushi Nemoto <=