lkml.org 
[lkml]   [2012]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 02/11] ARM: mach-msm: fix compile fail from system.h fallout
    Date
    To fix:

    In file included from arm/boot/compressed/misc.c:28:0:
    arm/mach-msm/include/mach/uncompress.h: In function 'putc':
    arch/arm/mach-msm/include/mach/uncompress.h:48:3: error: implicit
    declaration of function 'smp_mb' [-Werror=implicit-function-declaration]

    The putc does a cpu_relax which for this platform is smp_mb.

    Bisect indicates the 1st failing commit as:

    commit 0195c00244dc2e9f522475868fa278c473ba7339
    "Merge tag 'split-asm_system_h-for-linus-20120328' ..."

    Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
    ---
    arch/arm/mach-msm/include/mach/uncompress.h | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/arch/arm/mach-msm/include/mach/uncompress.h b/arch/arm/mach-msm/include/mach/uncompress.h
    index 169a840..c14011f 100644
    --- a/arch/arm/mach-msm/include/mach/uncompress.h
    +++ b/arch/arm/mach-msm/include/mach/uncompress.h
    @@ -16,6 +16,7 @@
    #ifndef __ASM_ARCH_MSM_UNCOMPRESS_H
    #define __ASM_ARCH_MSM_UNCOMPRESS_H

    +#include <asm/barrier.h>
    #include <asm/processor.h>
    #include <mach/msm_iomap.h>

    --
    1.7.9.1


    \
     
     \ /
      Last update: 2012-04-01 22:43    [W:3.620 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site