The patch titled sysctl: remove some OPs has been added to the -mm tree. Its filename is sysctl-remove-some-ops.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: sysctl: remove some OPs From: Alexey Dobriyan <adobriyan@xxxxxxxxx> kernel.cap-bound uses only OP_SET and OP_AND Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Cc: Chris Wright <chrisw@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- kernel/sysctl.c | 10 ---------- 1 file changed, 10 deletions(-) diff -puN kernel/sysctl.c~sysctl-remove-some-ops kernel/sysctl.c --- a/kernel/sysctl.c~sysctl-remove-some-ops +++ a/kernel/sysctl.c @@ -1930,9 +1930,6 @@ int proc_dointvec(ctl_table *table, int #define OP_SET 0 #define OP_AND 1 -#define OP_OR 2 -#define OP_MAX 3 -#define OP_MIN 4 static int do_proc_dointvec_bset_conv(int *negp, unsigned long *lvalp, int *valp, @@ -1944,13 +1941,6 @@ static int do_proc_dointvec_bset_conv(in switch(op) { case OP_SET: *valp = val; break; case OP_AND: *valp &= val; break; - case OP_OR: *valp |= val; break; - case OP_MAX: if(*valp < val) - *valp = val; - break; - case OP_MIN: if(*valp > val) - *valp = val; - break; } } else { int val = *valp; _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are origin.patch git-cpufreq.patch git-mtd.patch megaraid-fix-warnings-when-config_proc_fs=n.patch sysctl-remove-some-ops.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html