From: Michal Simek Date: Tue, 10 Aug 2010 00:18:24 +0000 (-0700) Subject: asm-generic: use raw_local_irq_save/restore instead local_irq_save/restore X-Git-Tag: v2.6.36-rc1~479 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e58143dc08123c22c5b9f782b2913bd3a07a03d;p=pandora-kernel.git asm-generic: use raw_local_irq_save/restore instead local_irq_save/restore The start/stop_critical_timing functions for preemptirqsoff, preemptoff and irqsoff tracers contain atomic_inc() and atomic_dec() operations. Atomic operations use local_irq_save/restore macros to ensure atomic access but they are traced by the same function which is causing recursion problem. The reason is when these tracers are turn ON then the local_irq_save/restore macros are changed in include/linux/irqflags.h to call trace_hardirqs_on/off which call start/stop_critical_timing. Microblaze was affected because it uses generic atomic implementation. Signed-off-by: Michal Simek Acked-by: Steven Rostedt Cc: Ingo Molnar Cc: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed