diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2008-01-24 08:52:13 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-01-24 11:07:27 -0500 |
commit | c2f3dabefa73fe3307578553f456e93f0a1bca08 (patch) | |
tree | 952a2cc0aae2d006535d6f20a2ba8b194fd753c2 /arch/ppc | |
parent | fabe874a48de45b137f99b4ed3641e0413f465ce (diff) |
sysctl: kill binary sysctl KERN_PPC_L2CR
: Stefan Roese <sr@denx.de> said:
> ppc: 4xx: sysctl table check failed: /kernel/l2cr .1.31 Missing strategy
>
> I'm seeing this error message when booting an recent arch/ppc kernel on
> 4xx platforms (tested on Ocotea and other 4xx platforms). Booting NFS
> rootfs still works fine, but this message kind of makes me "nervous".
> This is not seen on 4xx arch/powerpc platforms. Here the bootlog:
Because the data field was never filled and a binary sysctl handler was
never written this sysctl has never been usable through the sys_sysctl
interface. So just remove the binary sysctl number. Making the kernel
sanity checks happy.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Reported-by: Stefan Roese <sr@denx.de>
Cc: Josh Boyer <jwboyer@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/kernel/ppc_htab.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/ppc/kernel/ppc_htab.c b/arch/ppc/kernel/ppc_htab.c index aa07b63c0a6c..9ed36dd9cbff 100644 --- a/arch/ppc/kernel/ppc_htab.c +++ b/arch/ppc/kernel/ppc_htab.c | |||
@@ -436,7 +436,6 @@ int proc_dol2crvec(ctl_table *table, int write, struct file *filp, | |||
436 | */ | 436 | */ |
437 | static ctl_table htab_ctl_table[]={ | 437 | static ctl_table htab_ctl_table[]={ |
438 | { | 438 | { |
439 | .ctl_name = KERN_PPC_L2CR, | ||
440 | .procname = "l2cr", | 439 | .procname = "l2cr", |
441 | .mode = 0644, | 440 | .mode = 0644, |
442 | .proc_handler = &proc_dol2crvec, | 441 | .proc_handler = &proc_dol2crvec, |