sched/headers: Move softlockup detector watchdog methods to <linux/nmi.h>
authorIngo Molnar <mingo@kernel.org>
Thu, 2 Feb 2017 10:17:23 +0000 (11:17 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:43:38 +0000 (01:43 +0100)
commitd151b27d3f86589308cd8c891fdfd2db5f8e80d6
treed68aab64509e2a35770c1a605ae69e0162d44543
parentbcbb6a5bf7df6e37ba652d1f426eab042ec4f56b
sched/headers: Move softlockup detector watchdog methods to <linux/nmi.h>

These methods don't belong into <linux/sched.h>, they are neither directly
related to task_struct or are scheduler functionality.

Put them next to the other watchdog methods in <linux/nmi.h>.

( Arguably that header's name is a misnomer, and this patch makes it
  more so - but it should be renamed in another patch. )

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/nmi.h
include/linux/sched.h