Commit 02608bef8f774c058779546926889a2f2717a499
Committed by
Rusty Russell
1 parent
e22057c859
Exists in
master
and in
20 other branches
module: add kernel param to force disable module load
Sometimes we need to test a kernel of same version with code or config option changes. We already have sysctl to disable module load, but add a kernel parameter will be more convenient. Since modules_disabled is int, so here use bint type in core_param. TODO: make sysctl accept bool and change modules_disabled to bool Signed-off-by: Dave Young <dyoung@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Showing 2 changed files with 3 additions and 0 deletions Side-by-side Diff
Documentation/kernel-parameters.txt
kernel/module.c