The frv sysctl tables can only be used from proc so kill
the sysctl numbers.
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
static struct ctl_table pm_table[] =
{
{
- .ctl_name = CTL_PM_SUSPEND,
+ .ctl_name = CTL_UNNUMBERED,
.procname = "suspend",
.data = NULL,
.maxlen = 0,
static struct ctl_table frv_table[] =
{
{
- .ctl_name = 1,
+ .ctl_name = CTL_UNNUMBERD,
.procname = "cache-mode",
.data = NULL,
.maxlen = 0,
},
#ifdef CONFIG_MMU
{
- .ctl_name = 2,
+ .ctl_name = CTL_UNNUMBERD,
.procname = "pin-cxnr",
.data = NULL,
.maxlen = 0,
static struct ctl_table frv_dir_table[] =
{
{
- .ctl_name = CTL_FRV,
+ .ctl_name = CTL_UNNUMBERED,
.procname = "frv",
.mode = 0555,
.child = frv_table