aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-02-14 03:33:37 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-14 11:09:56 -0500
commit77f6dfb1295cae6e4cbbb90fc6da88fdf27ee95e (patch)
treee8463f6225f0e6588b8111d935164709521c3388
parentfebe1c257901c766a938007ed3710e7d54618756 (diff)
[PATCH] sysctl: move CTL_FRV into sysctl.h where it belongs
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/frv/kernel/sysctl.c1
-rw-r--r--include/linux/sysctl.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/frv/kernel/sysctl.c b/arch/frv/kernel/sysctl.c
index ce676803eb6f..2f4da32fba20 100644
--- a/arch/frv/kernel/sysctl.c
+++ b/arch/frv/kernel/sysctl.c
@@ -186,7 +186,6 @@ static struct ctl_table frv_table[] =
186 * Use a temporary sysctl number. Horrid, but will be cleaned up in 2.6 186 * Use a temporary sysctl number. Horrid, but will be cleaned up in 2.6
187 * when all the PM interfaces exist nicely. 187 * when all the PM interfaces exist nicely.
188 */ 188 */
189#define CTL_FRV 9898
190static struct ctl_table frv_dir_table[] = 189static struct ctl_table frv_dir_table[] =
191{ 190{
192 {CTL_FRV, "frv", NULL, 0, 0555, frv_table}, 191 {CTL_FRV, "frv", NULL, 0, 0555, frv_table},
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index bb2a0e6aaa8d..113b92bbe4b9 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -72,6 +72,7 @@ enum
72 CTL_CPU=10, /* CPU stuff (speed scaling, etc) */ 72 CTL_CPU=10, /* CPU stuff (speed scaling, etc) */
73 CTL_SUNRPC=7249, /* sunrpc debug */ 73 CTL_SUNRPC=7249, /* sunrpc debug */
74 CTL_PM=9899, /* frv power management */ 74 CTL_PM=9899, /* frv power management */
75 CTL_FRV=9898, /* frv specific sysctls */
75}; 76};
76 77
77/* CTL_BUS names: */ 78/* CTL_BUS names: */