diff options
author | Rene Herman <rene.herman@keyaccess.nl> | 2008-08-11 11:45:53 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-11 12:36:04 -0400 |
commit | fb6bef8002d54a9c3062abc281893ec7c896d3ce (patch) | |
tree | 2940749ef9493f8768232c95c7f07e9417f5cef4 | |
parent | eeb0d7d113895556db473ff1e638803d7d49bff9 (diff) |
x86: make "apic" an early_param() on 32-bit
On 32-bit, "apic" is a __setup() param meaning it is parsed rather
late in the game. Make it an early_param() for apic_printk() use
by arch/x86/kernel/mpparse.c.
On 64-bit, it already is an early_param().
Signed-off-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/apic_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c index d6c898358371..f432d4833a12 100644 --- a/arch/x86/kernel/apic_32.c +++ b/arch/x86/kernel/apic_32.c | |||
@@ -1726,9 +1726,9 @@ static int __init apic_set_verbosity(char *str) | |||
1726 | apic_verbosity = APIC_DEBUG; | 1726 | apic_verbosity = APIC_DEBUG; |
1727 | else if (strcmp("verbose", str) == 0) | 1727 | else if (strcmp("verbose", str) == 0) |
1728 | apic_verbosity = APIC_VERBOSE; | 1728 | apic_verbosity = APIC_VERBOSE; |
1729 | return 1; | 1729 | return 0; |
1730 | } | 1730 | } |
1731 | __setup("apic=", apic_set_verbosity); | 1731 | early_param("apic", apic_set_verbosity); |
1732 | 1732 | ||
1733 | static int __init lapic_insert_resource(void) | 1733 | static int __init lapic_insert_resource(void) |
1734 | { | 1734 | { |