Skip to contentSkip to conversation

Revision 3132 breaks build for Linux 2.4 on PPC

Xenomai-core Wolfgang Grandegger 2 participants 2 messages Dec 6, 2007 – Dec 8, 2007

lore
Share & tools
lore
#0 lore raw

Hello,

I just realized that the patch

http://svn.gna.org/viewcvs/xenomai/branches/v2.3.x/ksrc/arch/powerpc/hal.c?rev=3132&r1=2616&r2=3132

breaks compilation of the Linux 2.4 kernel for PPC:

hal.c: In function `rthal_set_local_cpu_timer':
hal.c:95: warning: implicit declaration of function per_cpu' hal.c: In function rthal_set_cpu_timers_unsafe':
hal.c:128: error: invalid lvalue in assignment hal.c:131: error: invalid lvalue in assignment

Wolfgang.

#1 lore raw
Quoted 6 lines · Wolfgang Grandegger

Hello,

I just realized that the patch

http://svn.gna.org/viewcvs/xenomai/branches/v2.3.x/ksrc/arch/powerpc/hal.c?rev=3132&r1=2616&r2=3132

Quoted 8 lines

breaks compilation of the Linux 2.4 kernel for PPC:

hal.c: In function `rthal_set_local_cpu_timer':
hal.c:95: warning: implicit declaration of function per_cpu' hal.c: In function rthal_set_cpu_timers_unsafe':
hal.c:128: error: invalid lvalue in assignment hal.c:131: error: invalid lvalue in assignment

Fixed, thanks.

Signature · 1 line
Philippe.