[PATCH] x86_64: Check that early arguments are words on their own
authorAndi Kleen <ak@suse.de>
Sat, 25 Mar 2006 15:29:46 +0000 (16:29 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:10:53 +0000 (09:10 -0800)
commit681558fdb5848f0a6dc248108f0f7323f7380857
tree275df1a007f74837c6d23b5c5987b85804ab22f3
parent86ebcea899ff01274c1e8e15bf1d1f1cf5fac471
[PATCH] x86_64: Check that early arguments are words on their own

We've always had the problem that arguments only did a prefix match,
which resulted e.g.  in noapic and noapictimer getting confused.

Fix the early argument parsing code to always check that arguments are
whole words (except for those that take additional arguments of course)
I factored out the checking code for that while also makes the code
easier to maintain.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup.c