[lkml]   [2009]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 3/6] [ARM] msm: include linux/cache.h in proc_comm.c
    This fixes a a build failure for 2.6.31-rc4-rt1 (ARCH=arm,

    CC arch/arm/mach-msm/proc_comm.o
    /ptx/work/octopus/WORK_2_A/ukl/gsrc/linux-2.6/arch/arm/mach-msm/proc_comm.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__cacheline_aligned_in_smp'
    /ptx/work/octopus/WORK_2_A/ukl/gsrc/linux-2.6/arch/arm/mach-msm/proc_comm.c: In function 'msm_proc_comm':
    /ptx/work/octopus/WORK_2_A/ukl/gsrc/linux-2.6/arch/arm/mach-msm/proc_comm.c:76: error: 'proc_comm_lock' undeclared (first use in this function)
    /ptx/work/octopus/WORK_2_A/ukl/gsrc/linux-2.6/arch/arm/mach-msm/proc_comm.c:76: error: (Each undeclared identifier is reported only once
    /ptx/work/octopus/WORK_2_A/ukl/gsrc/linux-2.6/arch/arm/mach-msm/proc_comm.c:76: error: for each function it appears in.)

    Signed-off-by: Uwe Kleine-König <>
    Cc: Russell King <>
    Cc: Brian Swetland <>
    arch/arm/mach-msm/proc_comm.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/arch/arm/mach-msm/proc_comm.c b/arch/arm/mach-msm/proc_comm.c
    index 915ee70..e825c36 100644
    --- a/arch/arm/mach-msm/proc_comm.c
    +++ b/arch/arm/mach-msm/proc_comm.c
    @@ -14,6 +14,7 @@

    +#include <linux/cache.h>
    #include <linux/delay.h>
    #include <linux/errno.h>
    #include <linux/io.h>
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-08-07 22:47    [W:2.706 / U:1.112 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site