linux-mips
[Top] [All Lists]

Re: bug in kernel_entry?

To: Steve Scott <steve.scott@pioneer-pdt.com>
Subject: Re: bug in kernel_entry?
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 10 Oct 2003 15:23:12 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <021e01c38eb2$4e95f840$2256fea9@janelle>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <5334.156.153.254.2.1065650433.squirrel@webmail.rmci.net> <20031009140319.GA17647@linux-mips.org> <021e01c38eb2$4e95f840$2256fea9@janelle>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Thu, Oct 09, 2003 at 03:11:36PM -0700, Steve Scott wrote:

> kernel_entry initializes the kernel stack pointer 'kernelsp'. But then
> immediately after this clears the bss, which has the side effect of setting
> kernelsp to 0. In our system, on initial entry to cpu_idle(), kernelsp is 0.

Funny this wasn't noticed for so long.  Fix is in CVS, thanks for reporting.

  Ralf

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