From: Ralph Siemsen Date: Mon, 18 Sep 2006 15:28:50 +0000 (+0100) Subject: [ARM] 3815/1: headers_install support for ARM X-Git-Tag: v2.6.18~13^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e40b1074af46d53740320f88dfffd9fb2f78bdf3;p=linux-2.6-omap-h63xx.git [ARM] 3815/1: headers_install support for ARM Move kernel-only #includes into #ifdef __KERNEL__, so that headers_install target can be used on ARM. Signed-off-by: Ralph Siemsen Signed-off-by: Russell King --- diff --git a/include/asm-arm/elf.h b/include/asm-arm/elf.h index 71061ca5c5d..ae7baa6c73f 100644 --- a/include/asm-arm/elf.h +++ b/include/asm-arm/elf.h @@ -8,7 +8,9 @@ #include #include +#ifdef __KERNEL #include +#endif typedef unsigned long elf_greg_t; typedef unsigned long elf_freg_t[3]; diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h index 63d12f0244c..b721270b998 100644 --- a/include/asm-arm/page.h +++ b/include/asm-arm/page.h @@ -193,8 +193,8 @@ extern pmd_t *top_pmd; #define ARCH_SLAB_MINALIGN 8 #endif -#endif /* __KERNEL__ */ - #include +#endif /* __KERNEL__ */ + #endif