aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/softirq.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-05-27 11:15:08 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-05-27 11:15:08 +0100
commitc3da952a0261cb2fa381154a6f22b758a4bd843b (patch)
tree92496e6fa23a402388431550351e458deedf84ec /xen/include/xen/softirq.h
parentcf5e6f2d34413cac233939ab701191655a587ca7 (diff)
downloadxen-c3da952a0261cb2fa381154a6f22b758a4bd843b.tar.gz
xen-c3da952a0261cb2fa381154a6f22b758a4bd843b.tar.bz2
xen-c3da952a0261cb2fa381154a6f22b758a4bd843b.zip
Pass cpumasks by reference always.
Rather than passing cpumasks by value in all cases (which is problematic for large NR_CPUS configurations), pass them 'by reference' (i.e. through a pointer to a const cpumask). On x86 this changes send_IPI_mask() to always only send IPIs to remote CPUs (meaning any caller needing to handle the current CPU as well has to do so on its own). Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/softirq.h')
-rw-r--r--xen/include/xen/softirq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/xen/softirq.h b/xen/include/xen/softirq.h
index 0b59f63b22..efd0a54443 100644
--- a/xen/include/xen/softirq.h
+++ b/xen/include/xen/softirq.h
@@ -39,7 +39,7 @@ static inline void cpumask_raise_softirq(cpumask_t mask, unsigned int nr)
cpu_clear(cpu, mask);
}
- smp_send_event_check_mask(mask);
+ smp_send_event_check_mask(&mask);
}
static inline void cpu_raise_softirq(unsigned int cpu, unsigned int nr)