mirror of https://gitee.com/openkylin/linux.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 <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
b552da8740
commit
26c6b5ea55
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue