2007-08-08 21:52:27

by Josh Triplett

[permalink] [raw]
Subject: [PATCH] RCU: Remove prototype for nonexistent function synchronize_idle()

synchronize_idle() sounds like an interesting function, but we don't
actually have it, so don't prototype it. Introduced in commit
9b06e818985d139fd9e82c28297f7744e1b484e1, in 2005.

Signed-off-by: Josh Triplett <[email protected]>
---
include/linux/rcupdate.h | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
index c6b7485..fe17d7d 100644
--- a/include/linux/rcupdate.h
+++ b/include/linux/rcupdate.h
@@ -281,7 +281,6 @@ extern void FASTCALL(call_rcu(struct rcu_head *head,
extern void FASTCALL(call_rcu_bh(struct rcu_head *head,
void (*func)(struct rcu_head *head)));
extern void synchronize_rcu(void);
-void synchronize_idle(void);
extern void rcu_barrier(void);

#endif /* __KERNEL__ */
--
1.5.2.1



2007-08-08 22:06:25

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH] RCU: Remove prototype for nonexistent function synchronize_idle()

On Wed, Aug 08, 2007 at 02:52:53PM -0700, Josh Triplett wrote:
> synchronize_idle() sounds like an interesting function, but we don't
> actually have it, so don't prototype it. Introduced in commit
> 9b06e818985d139fd9e82c28297f7744e1b484e1, in 2005.

My bad.

Acked-by: Paul E. McKenney <[email protected]>

> Signed-off-by: Josh Triplett <[email protected]>
> ---
> include/linux/rcupdate.h | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h
> index c6b7485..fe17d7d 100644
> --- a/include/linux/rcupdate.h
> +++ b/include/linux/rcupdate.h
> @@ -281,7 +281,6 @@ extern void FASTCALL(call_rcu(struct rcu_head *head,
> extern void FASTCALL(call_rcu_bh(struct rcu_head *head,
> void (*func)(struct rcu_head *head)));
> extern void synchronize_rcu(void);
> -void synchronize_idle(void);
> extern void rcu_barrier(void);
>
> #endif /* __KERNEL__ */
> --
> 1.5.2.1
>
>