• Luis R. Rodriguez's avatar
    kernel/params.c: generalize bool_enable_only · d19f05d8
    Luis R. Rodriguez authored
    This takes out the bool_enable_only implementation from
    the module loading code and generalizes it so that others
    can make use of it.
    
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    Cc: Jani Nikula <jani.nikula@intel.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: linux-kernel@vger.kernel.org
    Cc: cocci@systeme.lip6.fr
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@suse.com>
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    d19f05d8
module.c 102 KB