lkml.org 
[lkml]   [2003]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Simple patches for Linux as a guest OS in a plex86 VM (please consider)
On Wed, 22 Jan 2003, Andrew Morton wrote:

> #include <asm/if.h>
>
> in the places which are known to use pushfl/popfl is fragile. Because
> someone could later do something odd which results in the generation of an
> unmassaged pushfl/popfl.
>
> You need a magic bullet. Which is why I suggest including if.h via the build
> system - making it truly global.
>
> __ASSEMBLY__ and __KERNEL__ are provided via the build system as well, and
> are in scope during that first inclusion. So it _should_ work....

Let me just mention "gcc -include <file>". I suppose that's what you were
saying, anyway.

--Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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