aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-03-19 13:24:56 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:59 -0400
commit26c6b5ea5575a5a4886dc45f889e7b783641f2de (patch)
tree3dfbbf1943d5180f6461f4aab11ac34f31156f9f
parentb552da8740222c35bcd83c9be7b27185bfb6d53c (diff)
x86: change var types in __inquire_remote_apic
change some variables' types in __inquire_remote_apic to match x86_64 Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/smpboot_32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c
index 2dd95bae2b96..bea2d328a4f0 100644
--- a/arch/x86/kernel/smpboot_32.c
+++ b/arch/x86/kernel/smpboot_32.c
@@ -368,10 +368,10 @@ static void unmap_cpu_to_logical_apicid(int cpu)
368 368
369static inline void __inquire_remote_apic(int apicid) 369static inline void __inquire_remote_apic(int apicid)
370{ 370{
371 int i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 }; 371 unsigned i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
372 char *names[] = { "ID", "VERSION", "SPIV" }; 372 char *names[] = { "ID", "VERSION", "SPIV" };
373 int timeout; 373 int timeout;
374 unsigned long status; 374 u32 status;
375 375
376 printk("Inquiring remote APIC #%d...\n", apicid); 376 printk("Inquiring remote APIC #%d...\n", apicid);
377 377