Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70945
b: refs/heads/master
c: 6442eea
h: refs/heads/master
i:
  70943: dda4f1c
v: v3
  • Loading branch information
Laurent Vivier authored and Thomas Gleixner committed Oct 17, 2007
1 parent d964e1e commit 5f3e2be
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f79eb83b3af419c4e079c8312b3c70fb6391117a
refs/heads/master: 6442eea937ef797d4b66733f49c82e2fdc2aca6f
7 changes: 7 additions & 0 deletions trunk/arch/x86/kernel/smp_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,3 +705,10 @@ struct smp_ops smp_ops = {
.smp_send_reschedule = native_smp_send_reschedule,
.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);
9 changes: 3 additions & 6 deletions trunk/include/asm-x86/smp_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,9 @@ static inline void smp_send_reschedule(int cpu)
{
smp_ops.smp_send_reschedule(cpu);
}
static inline 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);
}
extern int smp_call_function_mask(cpumask_t mask,
void (*func) (void *info), void *info,
int wait);

void native_smp_prepare_boot_cpu(void);
void native_smp_prepare_cpus(unsigned int max_cpus);
Expand Down

0 comments on commit 5f3e2be

Please sign in to comment.