From: Jisheng Zhang Date: Thu, 20 Aug 2015 04:54:39 +0000 (+0800) Subject: x86/idle: Restore trace_cpu_idle to mwait_idle() calls X-Git-Tag: omap-for-v4.3/fixes-merge-window~66^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e43d0189ac02415fe4487f79fc35e8f147e9ea0d;p=pandora-kernel.git x86/idle: Restore trace_cpu_idle to mwait_idle() calls Commit b253149b843f ("sched/idle/x86: Restore mwait_idle() to fix boot hangs, to improve power savings and to improve performance") restores mwait_idle(), but the trace_cpu_idle related calls are missing. This causes powertop on my old desktop powered by Intel Core2 E6550 to report zero wakeups and zero events. Add them back to restore the proper behaviour. Fixes: b253149b843f ("sched/idle/x86: Restore mwait_idle() to ...") Signed-off-by: Jisheng Zhang Cc: Cc: stable@vger.kernel.org # 4.1 Link: http://lkml.kernel.org/r/1440046479-4262-1-git-send-email-jszhang@marvell.com Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed