提交 ceff8d85 编写于 作者: T Thomas Gleixner

Revert "i386: export i386 smp_call_function_mask() to modules"

This reverts commit 6442eea9.

The patch breaks smp_ops and needs to be reverted. The solution to
allow modular build of KVM is to export smp_ops instead.

Pointed-out-by: James Bottomley

  <jejb> tglx, so write out 100 times "voyager is a useful architecture" ...
  <tglx> yes, Sir
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 ef49c32b
...@@ -708,10 +708,3 @@ struct smp_ops smp_ops = { ...@@ -708,10 +708,3 @@ 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,
}; };
int smp_call_function_mask(cpumask_t mask, void (*func) (void *info),
void *info, int wait)
{
return smp_ops.smp_call_function_mask(mask, func, info, wait);
}
EXPORT_SYMBOL(smp_call_function_mask);
...@@ -94,9 +94,12 @@ static inline void smp_send_reschedule(int cpu) ...@@ -94,9 +94,12 @@ static inline void smp_send_reschedule(int cpu)
{ {
smp_ops.smp_send_reschedule(cpu); smp_ops.smp_send_reschedule(cpu);
} }
extern int smp_call_function_mask(cpumask_t mask, static inline int smp_call_function_mask(cpumask_t mask,
void (*func) (void *info), void *info, void (*func) (void *info), void *info,
int wait); int wait)
{
return smp_ops.smp_call_function_mask(mask, func, info, wait);
}
void native_smp_prepare_boot_cpu(void); void native_smp_prepare_boot_cpu(void);
void native_smp_prepare_cpus(unsigned int max_cpus); void native_smp_prepare_cpus(unsigned int max_cpus);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册