diff options
author | Andi Kleen <ak@suse.de> | 2006-12-06 20:14:11 -0500 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-06 20:14:11 -0500 |
commit | 9a8cb626a08f2c8251291f3c0a049b29665895d2 (patch) | |
tree | 81015911c516d49f9de47f913848c4bf43acb176 | |
parent | 538f188e03c821c93b355c9fc346806cdd34e286 (diff) |
[PATCH] i386: Avoid boot warning with apic=debug
There are two consumers of apic=: the apic debug level and the low
level generic architecture code. early_param would warn when the
low level code rejected "debug". Avoid this.
Signed-off-by: Andi Kleen <ak@suse.de>
-rw-r--r-- | arch/i386/mach-generic/probe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/i386/mach-generic/probe.c b/arch/i386/mach-generic/probe.c index 94b1fd9cbe3c..a7b3999bb37a 100644 --- a/arch/i386/mach-generic/probe.c +++ b/arch/i386/mach-generic/probe.c | |||
@@ -45,7 +45,9 @@ static int __init parse_apic(char *arg) | |||
45 | return 0; | 45 | return 0; |
46 | } | 46 | } |
47 | } | 47 | } |
48 | return -ENOENT; | 48 | |
49 | /* Parsed again by __setup for debug/verbose */ | ||
50 | return 0; | ||
49 | } | 51 | } |
50 | early_param("apic", parse_apic); | 52 | early_param("apic", parse_apic); |
51 | 53 | ||