[-mm patch] make kernel/rcutorture.c:rcu_bh_torture_synchronize() static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 19, 2006 at 10:00:08PM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.18-rc4-mm1:
>...
> +rcu-add-fake-writers-to-rcutorture.patch
> 
>  RCU stuff
>...

This patch makes the needlessly global rcu_bh_torture_synchronize() 
static.

Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.18-rc4-mm2/kernel/rcutorture.c.old	2006-08-20 19:30:16.000000000 +0200
+++ linux-2.6.18-rc4-mm2/kernel/rcutorture.c	2006-08-20 19:30:28.000000000 +0200
@@ -308,7 +308,7 @@
 	complete(&rcu->completion);
 }
 
-void rcu_bh_torture_synchronize(void)
+static void rcu_bh_torture_synchronize(void)
 {
 	struct rcu_bh_torture_synchronize rcu;
 

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux