]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited455af9dae55df44adb0dcb9022a7f6b573e0a9
treebd271ab049d8cbd2d20b8a8d443c40610cf194c9
parent9503c2411745702457e5d8cdd5ef53ab15f6e460
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