Pavel Pisa wrote:
I have tried to build patch-2.6.19-rt1 patched 2.6.19 kernel for MX1 (PiMX1). There seems to be some problems. One is corrected by attached patch, ----------------------------------------------------------------------------------- include/asm-arm/atomic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Index: linux-2.6.19-rt/include/asm-arm/atomic.h =================================================================== --- linux-2.6.19-rt.orig/include/asm-arm/atomic.h +++ linux-2.6.19-rt/include/asm-arm/atomic.h @@ -188,10 +188,10 @@ static inline unsigned long __cmpxchg(vo volatile unsigned long *p = ptr;if (size == 4) {- local_irq_save(flags); + raw_local_irq_save(flags); if ((prev = *p) == old) *p = new; - local_irq_restore(flags); + raw_local_irq_restore(flags); return(prev); } else return wrong_size_cmpxchg(ptr);
Yeah, same is necessary to get OMAP1 ARM926 compiled. Best regards Dirk - To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
