From b377c5bd82f1d48c3d07aaae21015f02ba5e5b3f Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 17 Aug 2004 21:19:19 -0700 Subject: ppc32: Move ppc32-specific sysctls to arch/ppc Remove both of the PPC32 && 6xx sysctls from kernel/sysctl.c to arch/ppc/ Signed-off-by: Tom Rini --- kernel/sysctl.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'kernel') diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 3905df6f026f..5cd99ef27e30 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -110,12 +110,6 @@ extern int sysctl_userprocess_debug; extern int sysctl_hz_timer; -#if defined(CONFIG_PPC32) && defined(CONFIG_6xx) -extern unsigned long powersave_nap; -int proc_dol2crvec(ctl_table *table, int write, struct file *filp, - void __user *buffer, size_t *lenp, loff_t *ppos); -#endif - #ifdef CONFIG_BSD_PROCESS_ACCT extern int acct_parm[]; #endif @@ -354,22 +348,6 @@ static ctl_table kern_table[] = { .mode = 0644, .proc_handler = &proc_dointvec, }, -#endif -#if defined(CONFIG_PPC32) && defined(CONFIG_6xx) - { - .ctl_name = KERN_PPC_POWERSAVE_NAP, - .procname = "powersave-nap", - .data = &powersave_nap, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = &proc_dointvec, - }, - { - .ctl_name = KERN_PPC_L2CR, - .procname = "l2cr", - .mode = 0644, - .proc_handler = &proc_dol2crvec, - }, #endif { .ctl_name = KERN_CTLALTDEL, -- cgit v1.2.3