suspend-to-idle: Prevent RCU from complaining about tick_freeze()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Jul 2015 20:59:49 +0000 (22:59 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Jul 2015 20:59:49 +0000 (22:59 +0200)
commitae0afb4f5d44d17a0fd135ae000e2acf12c53617
tree35b7a32ed8fc9d2b6ca219e3b4769f7fb165c455
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
suspend-to-idle: Prevent RCU from complaining about tick_freeze()

Put tick_freeze() under RCU_NONIDLE() to prevent RCU from complaining
about suspicious RCU usage in idle by trace_suspend_resume() called
from there.

While at it, fix a comment related to another usage of RCU_NONIDLE()
in enter_freeze_proper().

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
drivers/cpuidle/cpuidle.c