Messages in this thread | | | Date | Thu, 1 Mar 2007 19:21:35 -0800 | From | "Paul E. McKenney" <> | Subject | Re: [PATCH] rcutorture: Mark rcu_torture_init as __init |
| |
On Thu, Mar 01, 2007 at 11:29:03AM -0800, Josh Triplett wrote:
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> > Signed-off-by: Josh Triplett <josh@freedesktop.org> > --- > The corresponding rcu_torture_cleanup cannot get marked as __exit, because > rcu_torture_init uses it to clean up if init fails. > > kernel/rcutorture.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c > index 7258bcb..df49eca 100644 > --- a/kernel/rcutorture.c > +++ b/kernel/rcutorture.c > @@ -866,7 +866,7 @@ rcu_torture_cleanup(void) > rcu_torture_print_module_parms("End of test: SUCCESS"); > } > > -static int > +static int __init > rcu_torture_init(void) > { > int i; >
- 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/
| |