x86 setup: early cmdline parser handle boolean options
authordevzero@web.de <devzero@web.de>
Wed, 30 Jan 2008 12:33:02 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:02 +0000 (13:33 +0100)
commit32d0b9898029b7b3c7f161d31f57c4831d9049eb
tree3423478d043a18042590d494876ae7d0223bcea5
parent811a0fff5d6e80e18e06be88e0fb685f3924bf8f
x86 setup: early cmdline parser handle boolean options

This patch extends the early commandline parser to support boolean options.
The current version in mainline only supports parsing "option=arg" value pairs.

With this it should be easy making other messages like "Uncompressing kernel"
honour the "quiet" parameter, too.

Signed-off-by: Roland Kletzing <devzero@web.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/boot/cmdline.c