I've been waiting for linux-davinci 2.6.26 to come out so I could try the
rt-preempt patches (as 2.6.25 wasn't in sync with mainline 2.6.25).

Patching the 2.6.26-davinci1 kernel with patch-2.6.26-rt1 went smoothly. 
Unfortunately when I try to compile I get errors:

kernel/built-in.o(.text+0xdfd4): In function `__tasklet_hi_schedule':
include/asm-generic/cmpxchg-local.h:42: undefined reference to 
`wrong_size_cmpxchg'
kernel/built-in.o(.text+0xe12c): In function `__tasklet_schedule':
include/asm-generic/cmpxchg-local.h:42: undefined reference to 
`wrong_size_cmpxchg'
kernel/built-in.o(.text+0xe404): In function `__tasklet_action':
include/asm-generic/cmpxchg-local.h:42: undefined reference to 
`wrong_size_cmpxchg'
make: *** [.tmp_vmlinux1] Error 1

On top of the rt-preempt patch, I incorporated changes from this post (the sound
driver changes, not the irq/manage.c changes):
http://tinyurl.com/5awu5s

I did an identifier search and the function 'wrong_size_cmpxchg' is only ever
defined as a function prototype, and never as a function.  I guess this function
is never used when compiling the stock davinci kernel.

Does anyone have rt-preempt patches working on the newest davinci kernel or have
any tips to help me get it working.

Thanks in advance,
Ali


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to