OpenCloudOS-Kernel/drivers/macintosh
Eric W. Biederman 0b4d414714 [PATCH] sysctl: remove insert_at_head from register_sysctl
The semantic effect of insert_at_head is that it would allow new registered
sysctl entries to override existing sysctl entries of the same name.  Which is
pain for caching and the proc interface never implemented.

I have done an audit and discovered that none of the current users of
register_sysctl care as (excpet for directories) they do not register
duplicate sysctl entries.

So this patch simply removes the support for overriding existing entries in
the sys_sysctl interface since no one uses it or cares and it makes future
enhancments harder.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: David Howells <dhowells@redhat.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Andi Kleen <ak@muc.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Corey Minyard <minyard@acm.org>
Cc: Neil Brown <neilb@suse.de>
Cc: "John W. Linville" <linville@tuxdriver.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Jan Kara <jack@ucw.cz>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Mark Fasheh <mark.fasheh@oracle.com>
Cc: David Chinner <dgc@sgi.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-14 08:09:59 -08:00
..
Kconfig [PATCH] enable mouse button 2+3 emulation for x86 macs 2007-02-09 09:25:47 -08:00
Makefile [POWERPC] Xserve cpu-meter driver 2006-12-04 20:39:30 +11:00
adb-iop.c [PATCH] m68k pt_regs fixes 2006-10-07 10:51:14 -07:00
adb.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
adbhid.c [POWERPC] move variables in drivers/macintosh to bss 2007-02-13 15:35:52 +11:00
ans-lcd.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
apm_emu.c [POWERPC] move variables in drivers/macintosh to bss 2007-02-13 15:35:52 +11:00
mac_hid.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
macio-adb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
macio_asic.c Merge branch 'merge' 2006-08-01 10:37:25 +10:00
macio_sysfs.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
mediabay.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nvram.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
rack-meter.c [PATCH] offsetof is size_t 2007-02-09 09:14:07 -08:00
smu.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
therm_adt746x.c [POWERPC] move variables in drivers/macintosh to bss 2007-02-13 15:35:52 +11:00
therm_pm72.c [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
therm_pm72.h [POWERPC] Xserve G5 thermal control fixes 2006-07-28 10:42:49 +10:00
therm_windtunnel.c [POWERPC] Souped-up of_platform_device support 2006-12-04 16:08:52 +11:00
via-cuda.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
via-macii.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
via-maciisi.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
via-pmu-backlight.c [PATCH] Fix compilation of via-pmu-backlight 2006-12-30 10:56:41 -08:00
via-pmu-event.c Input: via-pmu - add input device support 2006-06-26 01:49:55 -04:00
via-pmu-event.h Input: via-pmu - add input device support 2006-06-26 01:49:55 -04:00
via-pmu-led.c [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
via-pmu.c [POWERPC] Correct AC Power: in /proc/pmu/info on ibook1 2007-02-13 15:35:52 +11:00
via-pmu68k.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
windfarm.h [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_core.c [POWERPC] windfarm: don't die on suspend thread signal 2007-02-08 16:08:39 +11:00
windfarm_cpufreq_clamp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
windfarm_lm75_sensor.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_max6690_sensor.c [PATCH] macintosh: cleanup the use of i2c headers 2006-03-23 14:40:24 +11:00
windfarm_pid.c [PATCH] windfarm license fix 2006-03-06 18:40:45 -08:00
windfarm_pid.h [PATCH] powerpc: Thermal control for dual core G5s 2006-02-07 22:05:14 -08:00
windfarm_pm81.c [PATCH] powerpc: windfarm shall request it's sub modules 2006-11-15 19:57:12 -08:00
windfarm_pm91.c [PATCH] powerpc: windfarm shall request it's sub modules 2006-11-15 19:57:12 -08:00
windfarm_pm112.c [PATCH] powerpc: windfarm shall request it's sub modules 2006-11-15 19:57:12 -08:00
windfarm_smu_controls.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
windfarm_smu_sat.c [PATCH] windfarm_smu_sat.c: simplify around i2c_add_driver() 2006-09-29 09:18:19 -07:00
windfarm_smu_sensors.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00