[PATCH] sysctl: move CTL_PM into sysctl.h where it belongs
Eric W. Biederman [Wed, 14 Feb 2007 08:33:36 +0000 (00:33 -0800)]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

arch/frv/kernel/pm.c
include/linux/sysctl.h

index ee677ce..6b76466 100644 (file)
@@ -125,7 +125,6 @@ unsigned long sleep_phys_sp(void *sp)
  * Use a temporary sysctl number. Horrid, but will be cleaned up in 2.6
  * when all the PM interfaces exist nicely.
  */
-#define CTL_PM 9899
 #define CTL_PM_SUSPEND 1
 #define CTL_PM_CMODE 2
 #define CTL_PM_P0 4
index 23a8f3c..bb2a0e6 100644 (file)
@@ -71,6 +71,7 @@ enum
        CTL_ABI=9,              /* Binary emulation */
        CTL_CPU=10,             /* CPU stuff (speed scaling, etc) */
        CTL_SUNRPC=7249,        /* sunrpc debug */
+       CTL_PM=9899,            /* frv power management */
 };
 
 /* CTL_BUS names: */