Re: [git pull -tip] headers_check fixes for other architectures
From: Tony Luck
Date: Thu Feb 05 2009 - 12:55:30 EST
On Fri, Jan 30, 2009 at 11:10 PM, Jaswinder Singh Rajput
<jaswinder@xxxxxxxxxx> wrote:
> These are clean patches, I did not included anything which leads to any
> confusion or conflicts. I hope maintainers do not mind if these patches
> go to mainstream via Ingo's -tip along with other headers_check fixes.
> headers_check fix: ia64, fpu.h
> diff --git a/arch/ia64/include/asm/fpu.h b/arch/ia64/include/asm/fpu.h
> index 3859558..b6395ad 100644
> --- a/arch/ia64/include/asm/fpu.h
> +++ b/arch/ia64/include/asm/fpu.h
> @@ -6,7 +6,7 @@
> * David Mosberger-Tang <davidm@xxxxxxxxxx>
> */
>
> -#include <asm/types.h>
> +#include <linux/types.h>
>
> /* floating point status register: */
> #define FPSR_TRAP_VD (1 << 0) /* invalid op trap disabled */
This one breaks the ia64 build for linux-next (since some assembly files
include <asm/fpu.h> which then goes on to pull in a whole bunch of
"C" include files that don't have __ASSEMBLY__ guards and so the
assembler chokes on "enum" and "typedef" etc.)
Either revert this part ... or wrap the #include like this in fpu.h:
#ifndef __ASSEMBLY__
#include <linux/types.h>
#endif
Thanks
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/