diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2011-03-16 19:04:08 -0400 |
---|---|---|
committer | Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> | 2011-03-16 19:04:08 -0400 |
commit | 4fb1aee3cb1b2acc3e841dbfda85a233d5b607ad (patch) | |
tree | ce58ce146727966e0cb5821c4d099cb8d7273ad1 /kernel/cred.c | |
parent | 521cb40b0c44418a4fd36dc633f575813d59a43d (diff) |
kernel-fix/kernel-irq-fix-kstat_irqs_cpu-and-irq_to_desc-symbols
kernel/irq/handle.c fix kstat_irqs_cpu and irq_to_desc symbols
On Mon, Mar 16, 2009 at 05:53:37PM -0400, Mathieu Desnoyers wrote:
>* Josh Boyer (jwboyer@linux.vnet.ibm.com) wrote:
>> On Mon, Mar 16, 2009 at 04:25:00PM -0400, Mathieu Desnoyers wrote:
>> >* Josh Boyer (jwboyer@linux.vnet.ibm.com) wrote:
>> >> On Mon, Mar 16, 2009 at 03:44:59PM -0400, Mathieu Desnoyers wrote:
>> >> >* Josh Boyer (jwboyer@linux.vnet.ibm.com) wrote:
>> >> >> Hi All,
>> >> >>
>> >> >> I was attempting to build a simple ppc64_defconfig using
>> >> >> the latest LTTng tag from git. When doing a:
>> >> >>
>> >> >> make ppc64_defconfig
>> >> >> make
>> >> >>
>> >> >> I get the error below.
>> >> >>
>> >> >
>> >> >Hi Josh,
>> >> >
>> >> >Yes, LTTng has been tested with slub, but not for the powerpc64
>> >> >cross-build. Thanks for the report, this is actually a header circular
>> >> >dependency I caused. It should be fixed in LTTng 0.111.
>> >>
>> >> Bah. Yes, I should have clarified on ppc/ppc64. Sorry for the confusion
>> >> there.
>> >>
>> >> >I'll have to update my powerpc64 cross compiler to test it, because I am
>> >> >stucked with a broken gcc 4.1. Please tell me if 0.111 fixes the problem
>> >> >for you or if you encounter other problems.
>> >>
>> >> Yep, the extern on tb_ticks_per_sec is what I had come up with locally.
>> >> It should work fine, and does indeed get past the error I was seeing. The
>> >> build now dies with:
>> >>
>> >> kernel/irq/handle.c:259: error: __ksymtab_irq_to_desc causes a section type conflict
>> >> kernel/irq/handle.c:259: error: __ksymtab_irq_to_desc causes a section type conflict
>> >> make[2]: *** [kernel/irq/handle.o] Error 1
>> >> make[1]: *** [kernel/irq] Error 2
>> >> make: *** [kernel] Error 2
>> >> make: *** Waiting for unfinished jobs....
>> >>
>> >
>> >Can I get your full .config ?
>>
>> Sure, attached. Note, this is just:
>>
>> make ppc64_defconfig
>> make vmlinux
>>
>> josh
>
>Can you try moving this code around ?
Yep, allows vmlinux and modules to build just fine. Here's a patch for you ;)
Based on a patch from Josh Boyer <jwboyer@linux.vnet.ibm.com>, updated by
Mathieu Desnoyers.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Diffstat (limited to 'kernel/cred.c')
0 files changed, 0 insertions, 0 deletions