2.6.31: powerpc build errors with include/linux/perf_counter.h

Mahajan Vivek-B08308 Vivek.Mahajan at freescale.com
Wed Sep 23 21:05:28 EST 2009


Hello Markus,
 
Apparently this
http://git.kernel.org/?p=linux/kernel/git/benh/powerpc.git;a=commitdiff;
h=5622f295b53fb60dbf9bed3e2c89d182490a8b7f breaks the powerpc build as
under when built from
http://git.kernel.org/?p=linux/kernel/git/benh/powerpc.git;a=summary
with latest commit ebc79c4f8da0f92efa968e0328f32334a2ce80cf
 
cc1: warnings being treated as errors
In file included from arch/powerpc/kernel/irq.c:56:
include/linux/perf_counter.h: In function 'perf_output_begin':
include/linux/perf_counter.h:854: warning: no return statement in
function returning non-void
include/linux/perf_counter.h: At top level:
include/linux/perf_counter.h:863: warning: 'struct perf_sample_data'
declared inside parameter list
include/linux/perf_counter.h:863: warning: its scope is only this
definition or declaration, which is probably not what
include/linux/perf_counter.h:868: warning: 'struct perf_sample_data'
declared inside parameter list
make[1]: *** [arch/powerpc/kernel/irq.o] Error 1
make: *** [arch/powerpc/kernel] Error 2

Thanks,
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090923/2c760f78/attachment.htm>


More information about the Linuxppc-dev mailing list