Browse Source

x86: export smp_ops to allow modular build of KVM

KVM uses smp_call_function_mask and therefor need smp_ops to be exported.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Thomas Gleixner 17 năm trước cách đây
mục cha
commit
027447c491
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      arch/x86/kernel/smp_32.c

+ 1 - 0
arch/x86/kernel/smp_32.c

@@ -708,3 +708,4 @@ struct smp_ops smp_ops = {
 	.smp_send_reschedule = native_smp_send_reschedule,
 	.smp_send_reschedule = native_smp_send_reschedule,
 	.smp_call_function_mask = native_smp_call_function_mask,
 	.smp_call_function_mask = native_smp_call_function_mask,
 };
 };
+EXPORT_SYMBOL_GPL(smp_ops);