X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-i386%2Fmsi.h;h=b85393094c832085a5a0487fd49745f176ff261c;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=e7047ef3a8fd072f6b0ce1598cfae06c615d8741;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-i386/msi.h b/include/asm-i386/msi.h index e7047ef3a..b85393094 100644 --- a/include/asm-i386/msi.h +++ b/include/asm-i386/msi.h @@ -16,7 +16,7 @@ #ifdef CONFIG_SMP #define MSI_TARGET_CPU logical_smp_processor_id() #else -#define MSI_TARGET_CPU TARGET_CPUS +#define MSI_TARGET_CPU cpu_to_logical_apicid(first_cpu(cpu_online_map)) #endif #endif /* ASM_MSI_H */