lkml.org 
[lkml]   [2003]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][2.5][15/15] smp_call_function/_on_cpu - fallout
This patch fixes smp_call_function users in none architecture specific 
code.

drivers/char/agp/agp.h | 2 +-
drivers/s390/char/sclp.c | 2 +-
drivers/s390/net/iucv.c | 4 ++--
fs/buffer.c | 2 +-
mm/slab.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)

Index: linux-2.5.59-bk/drivers/char/agp/agp.h
===================================================================
RCS file: /build/cvsroot/linux-2.5.59-bk/drivers/char/agp/agp.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 agp.h
--- linux-2.5.59-bk/drivers/char/agp/agp.h 9 Feb 2003 09:08:43 -0000 1.1.1.1
+++ linux-2.5.59-bk/drivers/char/agp/agp.h 9 Feb 2003 09:23:29 -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-bk/drivers/s390/char/sclp.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.59-bk/drivers/s390/char/sclp.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 sclp.c
--- linux-2.5.59-bk/drivers/s390/char/sclp.c 9 Feb 2003 09:08:59 -0000 1.1.1.1
+++ linux-2.5.59-bk/drivers/s390/char/sclp.c 9 Feb 2003 09:23:29 -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-bk/drivers/s390/net/iucv.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.59-bk/drivers/s390/net/iucv.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 iucv.c
--- linux-2.5.59-bk/drivers/s390/net/iucv.c 9 Feb 2003 09:09:00 -0000 1.1.1.1
+++ linux-2.5.59-bk/drivers/s390/net/iucv.c 9 Feb 2003 09:23:29 -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");
Index: linux-2.5.59-bk/fs/buffer.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.59-bk/fs/buffer.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 buffer.c
--- linux-2.5.59-bk/fs/buffer.c 9 Feb 2003 09:09:10 -0000 1.1.1.1
+++ linux-2.5.59-bk/fs/buffer.c 9 Feb 2003 09:23:29 -0000
@@ -1408,7 +1408,7 @@
{
preempt_disable();
invalidate_bh_lru(NULL);
- smp_call_function(invalidate_bh_lru, NULL, 1, 1);
+ smp_call_function(invalidate_bh_lru, NULL, 1);
preempt_enable();
}

Index: linux-2.5.59-bk/mm/slab.c
===================================================================
RCS file: /build/cvsroot/linux-2.5.59-bk/mm/slab.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 slab.c
--- linux-2.5.59-bk/mm/slab.c 9 Feb 2003 09:09:35 -0000 1.1.1.1
+++ linux-2.5.59-bk/mm/slab.c 9 Feb 2003 09:23:29 -0000
@@ -1121,7 +1121,7 @@
func(arg);
local_irq_enable();

- if (smp_call_function(func, arg, 1, 1))
+ if (smp_call_function(func, arg, 1))
BUG();
}

-
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/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.034 / U:1.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site