lkml.org 
[lkml]   [2009]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 1/6] headers_check fix: arm, hwcap.h
    From
    Date
    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




    \
     
     \ /
      Last update: 2009-06-04 14:47    [W:0.019 / U:60.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site