[tip:x86/urgent] x86/platform/hyperv: Handle VMBUS driver being a module
From: tip-bot for K. Y. Srinivasan
Date: Wed Apr 02 2014 - 03:55:56 EST
Commit-ID: f704a7d7f1d815621cb4c47f7a94787e1bd7c27c
Gitweb: http://git.kernel.org/tip/f704a7d7f1d815621cb4c47f7a94787e1bd7c27c
Author: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
AuthorDate: Tue, 1 Apr 2014 23:51:42 -0700
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Wed, 2 Apr 2014 09:49:47 +0200
x86/platform/hyperv: Handle VMBUS driver being a module
Hyper-V VMBUS driver can be a module; handle this case
correctly. Please apply.
Signed-off-by: K. Y. Srinivasan <kys@xxxxxxxxxxxxx>
Cc: olaf@xxxxxxxxx
Cc: apw@xxxxxxxxxxxxx
Cc: jasowang@xxxxxxxxxx
Link: http://lkml.kernel.org/r/1396421502-23222-1-git-send-email-kys@xxxxxxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
arch/x86/kernel/irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 42805fa..283a76a 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -125,7 +125,7 @@ int arch_show_interrupts(struct seq_file *p, int prec)
seq_printf(p, "%10u ", per_cpu(mce_poll_count, j));
seq_printf(p, " Machine check polls\n");
#endif
-#if defined(CONFIG_HYPERV) || defined(CONFIG_XEN)
+#if IS_ENABLED(CONFIG_HYPERV) || defined(CONFIG_XEN)
seq_printf(p, "%*s: ", prec, "THR");
for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->irq_hv_callback_count);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/