From: Eric W. Biederman Date: Wed, 14 Feb 2007 08:33:37 +0000 (-0800) Subject: [PATCH] sysctl: move CTL_FRV into sysctl.h where it belongs X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=77f6dfb1295cae6e4cbbb90fc6da88fdf27ee95e;p=linux-beck.git [PATCH] sysctl: move CTL_FRV into sysctl.h where it belongs Signed-off-by: Eric W. Biederman Acked-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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[] = * 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}, 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 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: */