Commit c81c6188 authored by Tom L. Nguyen's avatar Tom L. Nguyen Committed by Linus Torvalds

[PATCH] msi TARGET_CPUS fix

Somehow the change in TARGET_CPUS generated this error in UP environment.
Patch below will fix it.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 296317a0
......@@ -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 */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment