cpuidle: powernv: Don't continually set thread priority in snooze_loop()
authorAnton Blanchard <anton@samba.org>
Mon, 3 Apr 2017 21:54:13 +0000 (07:54 +1000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 19 Apr 2017 21:17:18 +0000 (23:17 +0200)
commit26eb48a9faf241abd60aa546e6beb896011667c1
treebd271ab049d8cbd2d20b8a8d443c40610cf194c9
parent79b578111febef642143669254b243ffbcf64ea9
cpuidle: powernv: Don't continually set thread priority in snooze_loop()

The powerpc64 kernel exception handlers have preserved thread priorities
for a long time now, so there is no need to continually set it.

Just set it once on entry and once exit.

Signed-off-by: Anton Blanchard <anton@samba.org>
Reviewed-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle-powernv.c