• Eric W. Biederman's avatar
    sysctl: kill binary sysctl KERN_PPC_L2CR · c2f3dabe
    Eric W. Biederman authored
    : 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: default avatarEric W. Biederman <ebiederm@xmission.com>
    Reported-by: default avatarStefan 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: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    c2f3dabe
ppc_htab.c 11.3 KB