]> err.no Git - linux-2.6/commitdiff
[PATCH] sysctl: move CTL_SUNRPC to sysctl.h where it belongs
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 14 Feb 2007 08:33:22 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:55 +0000 (08:09 -0800)
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sunrpc/debug.h
include/linux/sysctl.h

index 60fce3c928570166fdf354eee838adc22dc24d37..b7c7307ceec6bc8865104713559d800d6e1967c8 100644 (file)
@@ -78,7 +78,6 @@ void          rpc_unregister_sysctl(void);
  * module currently registers its sysctl table dynamically, the sysctl path
  * for module FOO is <CTL_SUNRPC, CTL_FOODEBUG>.
  */
-#define CTL_SUNRPC     7249    /* arbitrary and hopefully unused */
 
 enum {
        CTL_RPCDEBUG = 1,
index 665412c4f4b910cdc8c60da3174a1f48ccbbd61d..23a8f3c8bd7eaae3b4d6397700561c2ca04d9a1a 100644 (file)
@@ -69,7 +69,8 @@ enum
        CTL_DEV=7,              /* Devices */
        CTL_BUS=8,              /* Busses */
        CTL_ABI=9,              /* Binary emulation */
-       CTL_CPU=10              /* CPU stuff (speed scaling, etc) */
+       CTL_CPU=10,             /* CPU stuff (speed scaling, etc) */
+       CTL_SUNRPC=7249,        /* sunrpc debug */
 };
 
 /* CTL_BUS names: */