sched, thermal: Clean up preempt_enable_no_resched() abuse
sched, thermal: Clean up preempt_enable_no_resched() abuse

The only valid use of preempt_enable_no_resched() is if the very next
line is schedule() or if we know preemption cannot actually be enabled
by that statement due to known more preempt_count 'refs'.

Signed-off-by: Peter Zijlstra <3fddac958924aef220f202ca567388ddab3f14a8@infradead.org>
Cc: a11f87183a953ab11f50fbafff689c5a7fa3506c@rjwysocki.net
Cc: Eliezer Tamir <6b6063e36ca1bb86c1f2fa35aeb1f7937c6273cb@linux.intel.com>
Cc: f2a4cf793007be8f81a774dc7806c1ffea7b4a2c@intel.com
Cc: 148d80f820771051461d15e2fa9640db8055fb59@linux.intel.com
Cc: Mike Galbraith <bf687672b62c2181dfefd4771873b9307f539e64@online.de>
Cc: 8a453bad9912ffe59bc0f0b8abe03df9be19379e@zytor.com
Cc: Arjan van de Ven <9043bf4b08f6c93a2cb55d98c3494b123858348f@linux.intel.com>
Cc: b35faeaa9f67322de4a7df75e622f593a5cd06fe@kernel.org
Cc: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>
Cc: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>
Link: 6b57b4310cbb3e6b752e2b758d7b8ab362e1e5cd@git.kernel.org
Signed-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@kernel.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs