kernel-ark/arch/i386/kernel/cpu
OGAWA Hirofumi 9b41046cd0 [PATCH] Don't pass boot parameters to argv_init[]
The boot cmdline is parsed in parse_early_param() and
parse_args(,unknown_bootoption).

And __setup() is used in obsolete_checksetup().

	start_kernel()
		-> parse_args()
			-> unknown_bootoption()
				-> obsolete_checksetup()

If __setup()'s callback (->setup_func()) returns 1 in
obsolete_checksetup(), obsolete_checksetup() thinks a parameter was
handled.

If ->setup_func() returns 0, obsolete_checksetup() tries other
->setup_func().  If all ->setup_func() that matched a parameter returns 0,
a parameter is seted to argv_init[].

Then, when runing /sbin/init or init=app, argv_init[] is passed to the app.
If the app doesn't ignore those arguments, it will warning and exit.

This patch fixes a wrong usage of it, however fixes obvious one only.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-31 12:18:53 -08:00
..
cpufreq [CPUFREQ] powernow: remove private for_each_cpu_mask() 2006-03-27 15:06:08 -05:00
mcheck [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
mtrr [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
amd.c [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00
centaur.c [PATCH] Fix the imlicit declaration of mtrr_centaur_report_mcr in arch/i386/kernel/cpu/centaur.c 2006-03-23 07:38:06 -08:00
common.c [PATCH] sched: new sched domain for representing multi-core 2006-03-27 08:44:43 -08:00
cpu.h
cyrix.c [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00
intel_cacheinfo.c [PATCH] x86: don't use cpuid.2 to determine cache info if cpuid.4 is supported 2006-03-27 08:44:44 -08:00
intel.c [PATCH] i386: __devinit should be __cpuinit 2006-03-23 07:38:04 -08:00
Makefile
nexgen.c [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00
proc.c [PATCH] i386/x86-64: List Intel LaGrange AKA SMX in /proc/cpuinfo 2006-03-25 09:10:57 -08:00
rise.c [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00
transmeta.c [PATCH] x86_64: Add boot option to disable randomized mappings and cleanup 2006-02-17 08:00:40 -08:00
umc.c [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00