linux-hyperv.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] asm-generic/hyperv: Add missing #include of nmi.h
@ 2021-07-12  2:50 Michael Kelley
  2021-07-12 17:26 ` Wei Liu
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Kelley @ 2021-07-12  2:50 UTC (permalink / raw)
  To: kys, haiyangz, sthemmin, wei.liu, decui, arnd, linux-kernel,
	linux-hyperv, linux-arch
  Cc: mikelley

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>
---
 include/asm-generic/mshyperv.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h
index 2a187fe..60cdff3 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>
 
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] asm-generic/hyperv: Add missing #include of nmi.h
  2021-07-12  2:50 [PATCH 1/1] asm-generic/hyperv: Add missing #include of nmi.h Michael Kelley
@ 2021-07-12 17:26 ` Wei Liu
  0 siblings, 0 replies; 2+ messages in thread
From: Wei Liu @ 2021-07-12 17:26 UTC (permalink / raw)
  To: Michael Kelley
  Cc: kys, haiyangz, sthemmin, wei.liu, decui, arnd, linux-kernel,
	linux-hyperv, linux-arch

On Sun, Jul 11, 2021 at 07:50:04PM -0700, Michael Kelley wrote:
> 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>

Applied to hyperv-next. Thanks.

> ---
>  include/asm-generic/mshyperv.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/asm-generic/mshyperv.h b/include/asm-generic/mshyperv.h
> index 2a187fe..60cdff3 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>
>  
> -- 
> 1.8.3.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-12 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12  2:50 [PATCH 1/1] asm-generic/hyperv: Add missing #include of nmi.h Michael Kelley
2021-07-12 17:26 ` Wei Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).