[PATCH] sysctl: move CTL_FRV into sysctl.h where it belongs
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:37 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:56 +0000 (08:09 -0800)
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>
arch/frv/kernel/sysctl.c
include/linux/sysctl.h

index ce67680..2f4da32 100644 (file)
@@ -186,7 +186,6 @@ static struct ctl_table frv_table[] =
  * Use a temporary sysctl number. Horrid, but will be cleaned up in 2.6
  * when all the PM interfaces exist nicely.
  */
-#define CTL_FRV 9898
 static struct ctl_table frv_dir_table[] =
 {
        {CTL_FRV, "frv", NULL, 0, 0555, frv_table},
index bb2a0e6..113b92b 100644 (file)
@@ -72,6 +72,7 @@ enum
        CTL_CPU=10,             /* CPU stuff (speed scaling, etc) */
        CTL_SUNRPC=7249,        /* sunrpc debug */
        CTL_PM=9899,            /* frv power management */
+       CTL_FRV=9898,           /* frv specific sysctls */
 };
 
 /* CTL_BUS names: */