watchdog: Drop FIFO policy in exit path
authorThomas Gleixner <tglx@linutronix.de>
Mon, 12 Sep 2011 11:40:05 +0000 (13:40 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 18 Sep 2011 12:34:07 +0000 (14:34 +0200)
commitcba9bd22a5f8f857534b9a7f3fb3cafa0ac5fb75
tree47cd0ede22b4e3624dd6db0ffe2b3d15fb87fbf6
parent51887c8230d57c4d9cc68e3784c52c8f0a708655
watchdog: Drop FIFO policy in exit path

When the watchdog thread exits it runs through the exit path with FIFO
priority. There is no point in doing so. Switch back to SCHED_NORMAL
before exiting.

Cc: Don Zickus <dzickus@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/alpine.LFD.2.02.1109121337461.2723@ionos
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/watchdog.c