| Date | Thu, 25 Nov 2010 23:53:37 +0100 | From | Sam Ravnborg <> | Subject | Re: [PATCH 02/11] x86: Add device tree support |
| |
> diff --git a/arch/x86/include/asm/prom.h b/arch/x86/include/asm/prom.h > new file mode 100644 > index 0000000..8fdb0d2 > --- /dev/null > +++ b/arch/x86/include/asm/prom.h > @@ -0,0 +1,60 @@ > +/* > + * Definitions for Device tree / OpenFirmware handling on X86 > + * > + * based on arch/powerpc/include/asm/prom.h which is > + * Copyright (C) 1996-2005 Paul Mackerras. > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License > + * as published by the Free Software Foundation; either version > + * 2 of the License, or (at your option) any later version. > + */ > + > +#ifndef _ASM_X86_PROM_H > +#define _ASM_X86_PROM_H > +#ifdef __KERNEL__
This file is not exported to userspace - so no need to guard with __KERNEL__
Sam
|