x86, smpboot: Mark the names[] array in __inquire_remote_apic() as const
[~shefty/rdma-dev.git] / arch / x86 / kernel / smpboot.c
index a3c430bdfb6020aaefd4a7c97717f30c627d0a85..e02653a2e4f7c12036dcf795c73becf81572956d 100644 (file)
@@ -425,7 +425,7 @@ static void impress_friends(void)
 void __inquire_remote_apic(int apicid)
 {
        unsigned i, regs[] = { APIC_ID >> 4, APIC_LVR >> 4, APIC_SPIV >> 4 };
-       char *names[] = { "ID", "VERSION", "SPIV" };
+       const char * const names[] = { "ID", "VERSION", "SPIV" };
        int timeout;
        u32 status;