original_kernel/drivers/acpi
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
..
dispatcher [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
events [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
executer [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
hardware [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
namespace [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
parser [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
resources [PATCH] ACPI: fix vendor resource length computation 2006-02-17 14:09:22 -08:00
sleep
tables [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
utilities [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
Kconfig fix typos "wich" -> "which" 2006-03-24 18:23:14 +01:00
Makefile
ac.c
acpi_memhotplug.c
asus_acpi.c
battery.c
blacklist.c [PATCH] x86_64: Clean up and tweak ACPI blacklist year code 2006-03-25 09:10:54 -08:00
bus.c
button.c
container.c
debug.c
ec.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
event.c
fan.c
glue.c
hotkey.c
ibm_acpi.c [PATCH] acpi: remove dock event handling from ibm_acpi 2006-03-23 14:35:15 -08:00
motherboard.c
numa.c
osl.c [PATCH] ACPI: clean up memory attribute checking for map/read/write 2006-03-26 08:56:54 -08:00
pci_bind.c
pci_irq.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
pci_link.c [ACPI] remove "Resource isn't an IRQ" warning 2006-01-26 17:23:38 -05:00
pci_root.c
power.c
processor_core.c [PATCH] more s/fucn/func/ typo fixes 2006-03-26 08:57:09 -08:00
processor_idle.c [PATCH] Fix compilation of processor_idle.c on IA64 2006-03-25 20:19:29 -08:00
processor_perflib.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
processor_thermal.c
processor_throttling.c
scan.c [PATCH] acpi: export acpi_bus_trim 2006-03-23 14:35:15 -08:00
system.c
tables.c [PATCH] EFI fixes 2006-03-26 08:56:54 -08:00
thermal.c
toshiba_acpi.c
utils.c
video.c