CONFIG_SPINLINE broken on 2.6.9-rc2

Sonny Rao sonny at burdell.org
Sat Sep 25 05:48:26 EST 2004


On Thu, Sep 23, 2004 at 04:02:58PM -0400, Sonny Rao wrote:
> Hi, I was trying to get a profile with inlined spinlocks on 2.6.9-rc2
> and I noticed that my kernel build failed with several undefined
> references to spin_unlock_wait. 
> 
> After some grepping around it looked like the prototype in
> include/asm-ppc64/spinlock.h for spin_unlock_wait might be incorrect and
> should be a preprocessor define (like the ones in all of the other
> architectures including ppc), and the kernel does build and run with
> this change. 
> 
> Is this correct?  
> 
> Sonny

Apparently not quite correct.  Though the kernel built and ran, the
spinlocks didn't get inlined :-( 

If I have time, I'll try and track it down.

Sonny Rao
--
LTC Kernel Performance
 



More information about the Linuxppc64-dev mailing list