diff options
author | Yinghai Lu <yinghai.lu@amd.com> | 2006-10-21 12:37:01 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-10-21 12:37:01 -0400 |
commit | 45edfd1db02f818b3dc7e4743ee8585af6b78f78 (patch) | |
tree | cc7a524069ee23c49237c417299e5aa2f93205e0 /arch | |
parent | 926fafebc48a3218fac675f12974f9a46473bd40 (diff) |
[PATCH] x86-64: typo in __assign_irq_vector when updating pos for vector and offset
typo with cpu instead of new_cpu
Signed-off-by: Yinghai Lu <yinghai.lu@amd.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/kernel/io_apic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/kernel/io_apic.c b/arch/x86_64/kernel/io_apic.c index 49e94f7994c5..b848f4808510 100644 --- a/arch/x86_64/kernel/io_apic.c +++ b/arch/x86_64/kernel/io_apic.c | |||
@@ -651,12 +651,12 @@ next: | |||
651 | if (vector == IA32_SYSCALL_VECTOR) | 651 | if (vector == IA32_SYSCALL_VECTOR) |
652 | goto next; | 652 | goto next; |
653 | for_each_cpu_mask(new_cpu, domain) | 653 | for_each_cpu_mask(new_cpu, domain) |
654 | if (per_cpu(vector_irq, cpu)[vector] != -1) | 654 | if (per_cpu(vector_irq, new_cpu)[vector] != -1) |
655 | goto next; | 655 | goto next; |
656 | /* Found one! */ | 656 | /* Found one! */ |
657 | for_each_cpu_mask(new_cpu, domain) { | 657 | for_each_cpu_mask(new_cpu, domain) { |
658 | pos[cpu].vector = vector; | 658 | pos[new_cpu].vector = vector; |
659 | pos[cpu].offset = offset; | 659 | pos[new_cpu].offset = offset; |
660 | } | 660 | } |
661 | if (old_vector >= 0) { | 661 | if (old_vector >= 0) { |
662 | int old_cpu; | 662 | int old_cpu; |