[PATCH][2.5][2/18] smp_call_function_on_cpu - drivers/

Zwane Mwaikambo (zwane@holomorphy.com)
Wed, 22 Jan 2003 00:18:27 -0500 (EST)


Index: linux-2.5.59/drivers/char/agp/agp.h
===================================================================
RCS file: /build/cvsroot/linux-2.5.59/drivers/char/agp/agp.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 agp.h
--- linux-2.5.59/drivers/char/agp/agp.h 17 Jan 2003 11:15:30 -0000 1.1.1.1
+++ linux-2.5.59/drivers/char/agp/agp.h 22 Jan 2003 02:32:44 -0000
@@ -42,7 +42,7 @@

static void __attribute__((unused)) global_cache_flush(void)
{
- if (smp_call_function(ipi_handler, NULL, 1, 1) != 0)
+ if (smp_call_function(ipi_handler, NULL, 1) != 0)
panic(PFX "timed out waiting for the other CPUs!\n");
flush_agp_cache();
}
Index: linux-2.5.59/drivers/s390/char/sclp.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.59/drivers/s390/char/sclp.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sclp.c
--- linux-2.5.59/drivers/s390/char/sclp.c 17 Jan 2003 11:15:36 -0000 1.1.1.1
+++ linux-2.5.59/drivers/s390/char/sclp.c 22 Jan 2003 02:34:10 -0000
@@ -481,7 +481,7 @@
do_machine_quiesce(void)
{
cpu_quiesce_map = cpu_online_map;
- smp_call_function(do_load_quiesce_psw, NULL, 0, 0);
+ smp_call_function(do_load_quiesce_psw, NULL, 0);
do_load_quiesce_psw(NULL);
}
#else
Index: linux-2.5.59/drivers/s390/net/iucv.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.59/drivers/s390/net/iucv.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 iucv.c
--- linux-2.5.59/drivers/s390/net/iucv.c 17 Jan 2003 11:15:36 -0000 1.1.1.1
+++ linux-2.5.59/drivers/s390/net/iucv.c 22 Jan 2003 02:34:36 -0000
@@ -620,7 +620,7 @@
if (smp_processor_id() == 0)
iucv_declare_buffer_cpu0(&b2f0_result);
else
- smp_call_function(iucv_declare_buffer_cpu0, &b2f0_result, 0, 1);
+ smp_call_function(iucv_declare_buffer_cpu0, &b2f0_result, 1);
iucv_debug(1, "Address of EIB = %p", iucv_external_int_buffer);
if (b2f0_result == 0x0deadbeef)
b2f0_result = 0xaa;
@@ -642,7 +642,7 @@
if (smp_processor_id() == 0)
iucv_retrieve_buffer_cpu0(0);
else
- smp_call_function(iucv_retrieve_buffer_cpu0, 0, 0, 1);
+ smp_call_function(iucv_retrieve_buffer_cpu0, NULL, 1);
declare_flag = 0;
}
iucv_debug(1, "exiting");

-- 
function.linuxpower.ca

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/