Skip to contentSkip to conversation

sysctl: Kill binary sysctl KERN_PPC_L2CR

PATCH New Eric W. Biederman 1 participant 1 message Jan 24, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 sysctl: Kill binary sysctl KERN_PPC_L2CR

Quoted 8 lines

From: Stefan Roese <[email protected]>
Subject: 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.

---
 arch/ppc/kernel/ppc_htab.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/ppc/kernel/ppc_htab.c +0 -1
index aa07b63..9ed36dd 100644
@@ -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,
Signature · 1 line
1.5.3.rc6.17.g1911