46 lines · 869 B · C
RawDownload
// SPDX-License-Identifier: GPL-2.0 #include <asm/setup.h>#include <linux/sysctl.h> static const struct ctl_table sparc_sysctl_table[] = {	{		.procname	= "reboot-cmd",		.data		= reboot_command,		.maxlen		= 256,		.mode		= 0644,		.proc_handler	= proc_dostring,	},	{		.procname	= "stop-a",		.data		= &stop_a_enabled,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},	{		.procname	= "scons-poweroff",		.data		= &scons_pwroff,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#ifdef CONFIG_SPARC64	{		.procname	= "tsb-ratio",		.data		= &sysctl_tsb_ratio,		.maxlen		= sizeof(int),		.mode		= 0644,		.proc_handler	= proc_dointvec,	},#endif};  static int __init init_sparc_sysctls(void){	register_sysctl_init("kernel", sparc_sysctl_table);	return 0;} arch_initcall(init_sparc_sysctls);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t