lkml.org 
[lkml]   [2012]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] add kernel parameter to disable module load
Date
On Sat, 28 Jan 2012 11:34:50 +0800, Dave Young <dyoung@redhat.com> wrote:
> 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.


> +static int __init module_load_disable(char *str)
> +{
> + modules_disabled = 1;
> + return 1;
> +}
> +__setup("nomodule", module_load_disable);

You misspelled core_param here :)

Thanks,
Rusty.


\
 
 \ /
  Last update: 2012-01-29 12:41    [W:0.055 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site