summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kelley <mikelley@microsoft.com>2021-07-12 04:50:04 +0200
committerWei Liu <wei.liu@kernel.org>2021-07-12 19:23:59 +0200
commitba3f5839fbeb3f9e65070d90aa4e66008bbea80f (patch)
treea118b6baf0904d47c0d751dddb5b18ba854a20cf
parentLinux 5.14-rc1 (diff)
downloadlinux-ba3f5839fbeb3f9e65070d90aa4e66008bbea80f.tar.xz
linux-ba3f5839fbeb3f9e65070d90aa4e66008bbea80f.zip
asm-generic/hyperv: Add missing #include of nmi.h
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>
-rw-r--r--include/asm-generic/mshyperv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h
index 9a000ba2bb75..2ccb40670552 100644
--- a/include/asm-generic/mshyperv.h
+++ b/include/asm-generic/mshyperv.h
@@ -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>