Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c2f3dabefa73fe3307578553f456e93f0a1bca08
Commit:     c2f3dabefa73fe3307578553f456e93f0a1bca08
Parent:     fabe874a48de45b137f99b4ed3641e0413f465ce
Author:     Eric W. Biederman <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 24 05:52:13 2008 -0800
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu Jan 24 08:07:27 2008 -0800

    sysctl: kill binary sysctl KERN_PPC_L2CR
    
    : Stefan Roese <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
    Reported-by: Stefan Roese <[EMAIL PROTECTED]>
    Cc: Josh Boyer <[EMAIL PROTECTED]>
    Cc: Wolfgang Denk <[EMAIL PROTECTED]>
    Cc: Paul Mackerras <[EMAIL PROTECTED]>
    Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 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 aa07b63..9ed36dd 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,
  */
 static ctl_table htab_ctl_table[]={
        {
-               .ctl_name       = KERN_PPC_L2CR,
                .procname       = "l2cr",
                .mode           = 0644,
                .proc_handler   = &proc_dol2crvec,
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to