LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH -mm] Make rcupreempt.c compile with CONFIG_RCU_TRACE not set
[not found] ` <200702011106.13836.fzu@wemgehoertderstaat.de>
@ 2007-02-02 3:48 ` Karsten Wiese
2007-02-02 15:49 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: Karsten Wiese @ 2007-02-02 3:48 UTC (permalink / raw)
To: linux-kernel; +Cc: paulmck, Andrew Morton, dipankar
RCU_TRACE is always defined.
Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
---
diff -pur rc6-mm2/kernel/rcupreempt.c rc6-mm2-kw/kernel/rcupreempt.c
--- rc6-mm2/kernel/rcupreempt.c 2007-01-30 00:08:21.000000000 +0100
+++ rc6-mm2-kw/kernel/rcupreempt.c 2007-01-29 11:07:43.000000000 +0100
@@ -619,7 +619,7 @@ void synchronize_kernel(void)
synchronize_rcu();
}
-#ifdef RCU_TRACE
+#ifdef CONFIG_RCU_TRACE
int *rcupreempt_flipctr(int cpu)
{
return &per_cpu(rcu_flipctr, cpu)[0];
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -mm] Make rcupreempt.c compile with CONFIG_RCU_TRACE not set
2007-02-02 3:48 ` [PATCH -mm] Make rcupreempt.c compile with CONFIG_RCU_TRACE not set Karsten Wiese
@ 2007-02-02 15:49 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2007-02-02 15:49 UTC (permalink / raw)
To: Karsten Wiese; +Cc: linux-kernel, Andrew Morton, dipankar
On Fri, Feb 02, 2007 at 04:48:02AM +0100, Karsten Wiese wrote:
>
> RCU_TRACE is always defined.
Good catch!!!
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
>
> ---
> diff -pur rc6-mm2/kernel/rcupreempt.c rc6-mm2-kw/kernel/rcupreempt.c
> --- rc6-mm2/kernel/rcupreempt.c 2007-01-30 00:08:21.000000000 +0100
> +++ rc6-mm2-kw/kernel/rcupreempt.c 2007-01-29 11:07:43.000000000 +0100
> @@ -619,7 +619,7 @@ void synchronize_kernel(void)
> synchronize_rcu();
> }
>
> -#ifdef RCU_TRACE
> +#ifdef CONFIG_RCU_TRACE
> int *rcupreempt_flipctr(int cpu)
> {
> return &per_cpu(rcu_flipctr, cpu)[0];
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-02 15:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200701300131.36485.fzu@wemgehoertderstaat.de>
[not found] ` <20070201020619.GU2574@linux.vnet.ibm.com>
[not found] ` <200702011106.13836.fzu@wemgehoertderstaat.de>
2007-02-02 3:48 ` [PATCH -mm] Make rcupreempt.c compile with CONFIG_RCU_TRACE not set Karsten Wiese
2007-02-02 15:49 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).