direct-io.hg

changeset 12969:4a27df713c66

[XEN][POWERPC] Do not override smp function call wait flag
Do not override the caller's wishes regarding waiting for smp function
call completion. I was being too conservative in this respect: the lock
protects the call_data structure, and the function called is expected to
be threadsafe.
Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Nov 28 17:01:00 2006 -0500 (2006-11-28)
parents 21ce7e75b815
children 5a3fd0b7617d
files xen/arch/powerpc/smp.c
line diff
     1.1 --- a/xen/arch/powerpc/smp.c	Tue Nov 28 16:56:40 2006 -0500
     1.2 +++ b/xen/arch/powerpc/smp.c	Tue Nov 28 17:01:00 2006 -0500
     1.3 @@ -97,7 +97,6 @@ int on_selected_cpus(
     1.4      call_data.func = func;
     1.5      call_data.info = info;
     1.6      call_data.wait = wait;
     1.7 -    call_data.wait = 1;  /* Until we get RCU around call_data.  */
     1.8      atomic_set(&call_data.started, 0);
     1.9      atomic_set(&call_data.finished, 0);
    1.10      mb();