Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 22 Jan 2003 15:26:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 22 Jan 2003 15:26:38 -0500 Received: from chaos.physics.uiowa.edu ([128.255.34.189]:21128 "EHLO chaos.physics.uiowa.edu") by vger.kernel.org with ESMTP id ; Wed, 22 Jan 2003 15:26:37 -0500 Date: Wed, 22 Jan 2003 14:35:38 -0600 (CST) From: Kai Germaschewski X-X-Sender: kai@chaos.physics.uiowa.edu To: Andrew Morton cc: Kevin Lawton , Subject: Re: Simple patches for Linux as a guest OS in a plex86 VM (please consider) In-Reply-To: <20030122121712.19f19dac.akpm@digeo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 22 Jan 2003, Andrew Morton wrote: > #include > > 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 ". 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/