Messages in this thread Patch in this message | | | Subject | [PATCH 1/6] headers_check fix: arm, hwcap.h | From | Jaswinder Singh Rajput <> | Date | Thu, 04 Jun 2009 17:57:56 +0530 |
| |
fix the following 'make headers_check' warning:
usr/include/asm-arm/hwcap.h:29: extern's make no sense in userspace
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> --- arch/arm/include/asm/hwcap.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/include/asm/hwcap.h b/arch/arm/include/asm/hwcap.h index f7bd52b..48b4501 100644 --- a/arch/arm/include/asm/hwcap.h +++ b/arch/arm/include/asm/hwcap.h @@ -20,7 +20,8 @@ #define HWCAP_VFPv3 8192 #define HWCAP_VFPv3D16 16384 -#if defined(__KERNEL__) && !defined(__ASSEMBLY__) +#ifdef __KERNEL__ +#ifndef __ASSEMBLY__ /* * This yields a mask that user programs can use to figure out what * instruction set this cpu supports. @@ -28,5 +29,5 @@ #define ELF_HWCAP (elf_hwcap) extern unsigned int elf_hwcap; #endif - +#endif #endif -- 1.6.0.6
| |