diff options
author | Michael Kelley <mikelley@microsoft.com> | 2021-07-12 05:50:04 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2021-07-12 20:23:59 +0300 |
commit | ba3f5839fbeb3f9e65070d90aa4e66008bbea80f (patch) | |
tree | a118b6baf0904d47c0d751dddb5b18ba854a20cf | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) | |
download | linux-ba3f5839fbeb3f9e65070d90aa4e66008bbea80f.tar.xz |
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.h | 1 |
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> |