asm-generic/hyperv: Add missing #include of nmi.h
authorMichael Kelley <mikelley@microsoft.com>
Mon, 12 Jul 2021 02:50:04 +0000 (19:50 -0700)
committerWei Liu <wei.liu@kernel.org>
Mon, 12 Jul 2021 17:23:59 +0000 (17:23 +0000)
The recent move of hv_do_rep_hypercall() to this file adds
a reference to touch_nmi_watchdog(). Its function definition
is included indirectly when compiled on x86, but not when
compiled on ARM64. So add the explicit #include.

No functional change.

Signed-off-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1626058204-2106-1-git-send-email-mikelley@microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
include/asm-generic/mshyperv.h

index 9a000ba2bb754bbcd4b61381b951c1bb8e17bacf..2ccb40670552a56d8006a56623565576ce9246c0 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/atomic.h>
 #include <linux/bitops.h>
 #include <linux/cpumask.h>
+#include <linux/nmi.h>
 #include <asm/ptrace.h>
 #include <asm/hyperv-tlfs.h>