Skip to content

Commit ba3f583

Browse files
kelleymhliuw
authored andcommitted
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>
1 parent e73f0f0 commit ba3f583

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/asm-generic/mshyperv.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <linux/atomic.h>
2323
#include <linux/bitops.h>
2424
#include <linux/cpumask.h>
25+
#include <linux/nmi.h>
2526
#include <asm/ptrace.h>
2627
#include <asm/hyperv-tlfs.h>
2728

0 commit comments

Comments
 (0)