summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-03-06 12:08:37 +0100
committerThomas Gleixner <tglx@linutronix.de>2014-03-06 12:08:37 +0100
commit7ff42473ebdee32ed3ac34f6bf4b4080c7455840 (patch)
treec11fc2fc8fccf94334ed91f80eb4af35a85840b3
parentirqchip: gic: Silence sparse warnings (diff)
downloadlinux-7ff42473ebdee32ed3ac34f6bf4b4080c7455840.tar.xz
linux-7ff42473ebdee32ed3ac34f6bf4b4080c7455840.zip
x86: hardirq: Make irq_hv_callback_count available for CONFIG_HYPERV=m as well
Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--arch/x86/include/asm/hardirq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/hardirq.h b/arch/x86/include/asm/hardirq.h
index afb6536ee3ac..230853da4ec0 100644
--- a/arch/x86/include/asm/hardirq.h
+++ b/arch/x86/include/asm/hardirq.h
@@ -33,7 +33,7 @@ typedef struct {
#ifdef CONFIG_X86_MCE_THRESHOLD
unsigned int irq_threshold_count;
#endif
-#if defined(CONFIG_HYPERV) || defined(CONFIG_XEN)
+#if IS_ENABLED(CONFIG_HYPERV) || defined(CONFIG_XEN)
unsigned int irq_hv_callback_count;
#endif
} ____cacheline_aligned irq_cpustat_t;