linux-mips
[Top] [All Lists]

Re: schedule() and mipsel processor

To: fpga dsp <fpga_dsp@yahoo.com.au>
Subject: Re: schedule() and mipsel processor
From: Ralf Baechle <ralf@linux-mips.org>
Date: Sun, 29 Jun 2003 19:35:23 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <20030628025749.40346.qmail@web41205.mail.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030628025749.40346.qmail@web41205.mail.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Sat, Jun 28, 2003 at 12:57:49PM +1000, fpga dsp wrote:

> I may ask a stupid question here but I have problem of calling any functions 
> such as interruptible_sleep_on_timeout, sleep_on ... in a timer handler, the 
> kernel just crash straight away in the function schedule(). Now I go and do a 
> diff between kern/sched.c on i686 source and mipsel source. clearly , they 
> are different. So the question is from kernel programming point of view, the 
> bottom-half of interrupt handler is still considered interrupt handler? I 
> don't see any platform dependent code in the scheduler at all. So why a mips 
> scheduler is different from intel scheduler ?

Bs.  There was no need to change kernel/sched.c at all so you're probably
simply diffing the wrong versions.

  Ralf

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