Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125670
b: refs/heads/master
c: ce47d97
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Dec 29, 2008
1 parent 9082261 commit 94fb8f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 54b11e6d57a10aa9d0009efd93873e17bffd5d30
refs/heads/master: ce47d974f71af26d00832e83a43ac79bec272d99
8 changes: 7 additions & 1 deletion trunk/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,12 @@ void __smp_call_function_single(int cpu, struct call_single_data *data)
generic_exec_single(cpu, data);
}

/* FIXME: Shim for archs using old arch_send_call_function_ipi API. */
#ifndef arch_send_call_function_ipi_mask
#define arch_send_call_function_ipi_mask(maskp) \
arch_send_call_function_ipi(*(maskp))
#endif

/**
* smp_call_function_many(): Run a function on a set of other CPUs.
* @mask: The set of cpus to run on (only runs on online subset).
Expand Down Expand Up @@ -343,7 +349,7 @@ void smp_call_function_many(const struct cpumask *mask,
smp_mb();

/* Send a message to all CPUs in the map */
arch_send_call_function_ipi(*to_cpumask(data->cpumask_bits));
arch_send_call_function_ipi_mask(to_cpumask(data->cpumask_bits));

/* optionally wait for the CPUs to complete */
if (wait)
Expand Down

0 comments on commit 94fb8f9

Please sign in to comment.