Просмотр исходного кода

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 18 лет назад
Родитель
Сommit
027447c491
1 измененных файлов с 1 добавлено и 0 удалено
  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);