]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/include/asm/genapic.h
x86, apic: unify phys_pkg_id()
[linux-2.6-omap-h63xx.git] / arch / x86 / include / asm / genapic.h
index f292fd02ebab95a039520cb6f3336a1a7437ee44..14b19de8cd09caf49066937752e7c10000a6cd8f 100644 (file)
@@ -48,11 +48,7 @@ struct genapic {
        void (*setup_portio_remap)(void);
        int (*check_phys_apicid_present)(int boot_cpu_physical_apicid);
        void (*enable_apic_mode)(void);
-#ifdef CONFIG_X86_32
-       u32 (*phys_pkg_id)(u32 cpuid_apic, int index_msb);
-#else
-       unsigned int (*phys_pkg_id)(int index_msb);
-#endif
+       int (*phys_pkg_id)(int cpuid_apic, int index_msb);
 
        /*
         * When one of the next two hooks returns 1 the genapic