kernel/watchdog.c: move hardlockup detector to separate file
authorBabu Moger <babu.moger@oracle.com>
Wed, 14 Dec 2016 23:06:24 +0000 (15:06 -0800)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 23 Jul 2017 02:59:17 +0000 (02:59 +0000)
commitcc31855387798fc4d15c1dd055b09be3a3f8bb99
treebd1729598769131de6ae1d9386104ebe93536f03
parent0adbcb48a07d91a4a6e06440cbb463acb52c83f8
kernel/watchdog.c: move hardlockup detector to separate file

[ Upstream commit 73ce0511c43686095efd2f65ef564aab952e07bc ]

Separate hardlockup code from watchdog.c and move it to watchdog_hld.c.
It is mostly straight forward.  Remove everything inside
CONFIG_HARDLOCKUP_DETECTORS.  This code will go to file watchdog_hld.c.
Also update the makefile accordigly.

Link: http://lkml.kernel.org/r/1478034826-43888-3-git-send-email-babu.moger@oracle.com
Signed-off-by: Babu Moger <babu.moger@oracle.com>
Acked-by: Don Zickus <dzickus@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Cc: Aaron Tomlin <atomlin@redhat.com>
Cc: Ulrich Obergfell <uobergfe@redhat.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hidehiro Kawai <hidehiro.kawai.ez@hitachi.com>
Cc: Josh Hunt <johunt@akamai.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/Makefile
kernel/watchdog.c
kernel/watchdog_hld.c [new file with mode: 0644]