Re: [PATCH 2/2] kernel/rcu/rcutorture.c: use macro to define module parameter

From: Pranith Kumar
Date: Wed Apr 16 2014 - 19:11:34 EST


On Wed, Apr 16, 2014 at 5:14 PM, Paul E. McKenney
<paulmck@xxxxxxxxxxxxxxxxxx> wrote:
>
> This fails for me. The problem is that the defined macro makes everything
> static, and rcutorture_runnable is used in kernel/sysctl.c. :-/
>
> In theory, it would be possible to make torture_param() take "static"
> as a parameter, but this adds more characters than it removes.
>

Oh, I just tried building it as a module and it worked. In the future
I will run this both as inbuilt and as a module before sending any
patches.

Sorry for the noise!


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