linux-mips
[Top] [All Lists]

Re: [PATCH] Fix WARNING: at kernel/smp.c:290

To: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: [PATCH] Fix WARNING: at kernel/smp.c:290
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 26 Aug 2008 13:33:10 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <20080804185357.E0CD4C315B@solo.franken.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080804185357.E0CD4C315B@solo.franken.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Aug 04, 2008 at 08:53:57PM +0200, Thomas Bogendoerfer wrote:

> Subject: [PATCH] Fix WARNING: at kernel/smp.c:290 
> 
> trap_init issues flush_icache_range(), which uses ipi functions to
> get icache flushing done on all cpus. But this is done before interrupts
> are enabled and caused WARN_ON messages. This changeset introduces
> a new local_flush_icache_range() and uses it before interrupts (and
> additional CPUs) are enabled to avoid this problem.

Thanks, applied.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>