diff options
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 16 | 
1 files changed, 16 insertions, 0 deletions
| diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 15f2511a1b7c..137c7f69b264 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -623,6 +623,13 @@ static struct ctl_table kern_table[] = {  		.mode		= 0644,  		.proc_handler	= proc_dointvec,  	}, +	{ +		.procname	= "tracepoint_printk", +		.data		= &tracepoint_printk, +		.maxlen		= sizeof(tracepoint_printk), +		.mode		= 0644, +		.proc_handler	= proc_dointvec, +	},  #endif  #ifdef CONFIG_KEXEC  	{ @@ -1104,6 +1111,15 @@ static struct ctl_table kern_table[] = {  		.proc_handler	= proc_dointvec,  	},  #endif +	{ +		.procname	= "panic_on_warn", +		.data		= &panic_on_warn, +		.maxlen		= sizeof(int), +		.mode		= 0644, +		.proc_handler	= proc_dointvec_minmax, +		.extra1		= &zero, +		.extra2		= &one, +	},  	{ }  }; | 
