From: Jon Medhurst Date: Thu, 25 Apr 2013 13:40:22 +0000 (+0100) Subject: ARM: 7700/2: Make cpu_init() notrace X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~51^2~1^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1783d4574619aea9ff5d94e6506f288547fc6737;p=pandora-kernel.git ARM: 7700/2: Make cpu_init() notrace On resume from CPU power down any trace hooks enabled in cpu_init() will get called before that function has done set_my_cpu_offset(), so any use of per-cpu variables by trace hook code will cause bad things to happen. Prevent this by marking the function notrace. This fixes lockups/crashes seen when enabling function tracer on TC2 with the not yet mainlined cpuidle driver. Signed-off-by: Jon Medhurst Acked-by: Nicolas Pitre Signed-off-by: Russell King --- Reading git-diff-tree failed