From: Glauber de Oliveira Costa Date: Wed, 19 Mar 2008 17:24:56 +0000 (-0300) Subject: x86: change var types in __inquire_remote_apic X-Git-Tag: v3.12-rc1~22029^2~401 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26c6b5ea5575a5a4886dc45f889e7b783641f2de;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c index 2dd95ba..bea2d32 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) static inline void __inquire_remote_apic(int apicid) { - int i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 }; + unsigned i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 }; char *names[] = { "ID", "VERSION", "SPIV" }; int timeout; - unsigned long status; + u32 status; printk("Inquiring remote APIC #%d...\n", apicid);