Revert patch arm-fix-atomic-cmpxchg.patch in preempt-rt patchset To be able to revert the patch arm-cmpxchg.patch this patch has to be reverted also. (Actually this change has been moved to the include/asm-generic/cmpxchg-local.h through another patch) Signed-off-by: Remy Bohmer --- include/asm-arm/atomic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6.25.11/include/asm-arm/atomic.h =================================================================== --- linux-2.6.25.11.orig/include/asm-arm/atomic.h 2008-07-16 17:08:42.000000000 +0200 +++ linux-2.6.25.11/include/asm-arm/atomic.h 2008-07-16 17:14:01.000000000 +0200 @@ -229,10 +229,10 @@ static inline unsigned long __cmpxchg(vo volatile unsigned long *p = ptr; if (size == 4) { - raw_local_irq_save(flags); + local_irq_save(flags); if ((prev = *p) == old) *p = new; - raw_local_irq_restore(flags); + local_irq_restore(flags); return(prev); } else return wrong_size_cmpxchg(ptr);