lkml.org 
[lkml]   [2009]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PowerPC] 2.6.30-git3 build break : perf counters
    Jaswinder Singh Rajput wrote:
    > Please check this patch :
    >
    > [PATCH] powerpc: perf_counter fix performance counter event types
    >
    > Fix compilation warnings :
    > CC arch/powerpc/kernel/power7-pmu.o
    > arch/powerpc/kernel/power7-pmu.c:297: error: PERF_COUNT_CPU_CYCLES undeclared here (not in a function)
    > arch/powerpc/kernel/power7-pmu.c:297: error: array index in initializer not of integer type
    > arch/powerpc/kernel/power7-pmu.c:297: error: (near initialization for power7_generic_events)
    > arch/powerpc/kernel/power7-pmu.c:298: error: PERF_COUNT_INSTRUCTIONS undeclared here (not in a function)
    > arch/powerpc/kernel/power7-pmu.c:298: error: array index in initializer not of integer type
    > ......<SNIP>......
    >
    > Reported-by: Sachin Sant <sachinp@in.ibm.com>
    > Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
    > ---
    >
    Yes this fixed the build error.

    Thanks
    -Sachin


    --

    ---------------------------------
    Sachin Sant
    IBM Linux Technology Center
    India Systems and Technology Labs
    Bangalore, India
    ---------------------------------



    \
     
     \ /
      Last update: 2009-06-12 10:19    [W:3.511 / U:0.268 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site