[lkml]   [2000]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] scheduler bugfix, SMP, 2.4.0-test7
   Date: Tue, 29 Aug 2000 16:13:22 +0100 (BST)
From: Alan Cox <>

> Ingo, the local flags stuff on Sparc, remember?

Maybe its time to have FASTCALLFLAGS that is different for sparc ?

The problem not FASTCALL, which is a NOP on sparc anyways. The
problem is the fact that people expect the following to work:

void foo(unsigned long flags)

void bar(void)
unsigned long flags;


And it doesn't on Sparc because the flags are stored in the same CPU
register as the current register window.

Therefore you cannot restore irq flags in a different function than
the one in which you obtained them.

David S. Miller
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.035 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site