[PATCH] irq: sparse irqs, fix #2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, August 14, 2008 - 6:36 am

From 28f153577fc82ff93cd63472134b40f0634bff70 Mon Sep 17 00:00:00 2001
From: Ingo Molnar <mingo@elte.hu>
Date: Thu, 14 Aug 2008 15:38:50 +0200
Subject: [PATCH] irq: sparse irqs, fix #2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

fix:

 In file included from arch/x86/kernel/setup.c:99:
 include/asm-x86/mach-default/mach_apic.h:142: error: expected ‘)’ before ‘->’ token

That hunk got mis-merged.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 include/asm-x86/mach-default/mach_apic.h |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/include/asm-x86/mach-default/mach_apic.h b/include/asm-x86/mach-default/mach_apic.h
index a4a8f92..ea04182 100644
--- a/include/asm-x86/mach-default/mach_apic.h
+++ b/include/asm-x86/mach-default/mach_apic.h
@@ -85,6 +85,20 @@ static inline int apicid_to_node(int logical_apicid)
 	return 0;
 #endif
 }
+
+static inline cpumask_t vector_allocation_domain(int cpu)
+{
+        /* Careful. Some cpus do not strictly honor the set of cpus
+         * specified in the interrupt destination when using lowest
+         * priority interrupt delivery mode.
+         *
+         * In particular there was a hyperthreading cpu observed to
+         * deliver interrupts to the wrong hyperthread when only one
+         * hyperthread was specified in the interrupt desitination.
+         */
+        cpumask_t domain = { { [0] = APIC_ALL_CPUS, } };
+        return domain;
+}
 #endif
 
 static inline unsigned long check_apicid_used(physid_mask_t bitmap, int apicid)
@@ -139,18 +153,5 @@ static inline void enable_apic_mode(void)
 {
 }
 
-static inline cpumask_t vector_allocation_domain(int cpu)
-{
-        /* Careful. Some cpus do not strictly honor the set of cpus
-         * specified in the interrupt destination when using lowest
-         * priority interrupt delivery mode.
-         *
-         * In particular there was a hyperthreading cpu observed to
-         * deliver interrupts to the wrong hyperthread when only one
-         * hyperthread was specified in the interrupt desitination.
-         */
-        cpumask_t domain = { { [0] = APIC_ALL_CPUS, } };
-        return domain;
-}
 #endif /* CONFIG_X86_LOCAL_APIC */
 #endif /* ASM_X86__MACH_DEFAULT__MACH_APIC_H */
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] irq: sparse irqs, fix, Ingo Molnar, (Thu Aug 14, 6:31 am)
[PATCH] irq: sparse irqs, fix #2, Ingo Molnar, (Thu Aug 14, 6:36 am)
[PATCH] irq: sparse irqs, fix IRQ auto-probe crash, Ingo Molnar, (Thu Aug 14, 6:53 am)
[PATCH] irq: sparse irqs, export nr_irqs, Ingo Molnar, (Thu Aug 14, 6:57 am)
[PATCH] irq: sparse irqs, fix #3, Ingo Molnar, (Thu Aug 14, 7:07 am)
Re: [PATCH] irq: sparse irqs, fix #2, Andrew Morton, (Thu Aug 14, 9:33 am)
Re: [PATCH] irq: sparse irqs, fix #2, Eric W. Biederman, (Thu Aug 14, 10:03 am)
Re: [PATCH] irq: sparse irqs, fix #3, Yinghai Lu, (Thu Aug 14, 10:34 am)
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10, Eric W. Biederman, (Thu Aug 14, 1:05 pm)
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10, Eric W. Biederman, (Thu Aug 14, 4:55 pm)
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10, Eric W. Biederman, (Thu Aug 14, 5:11 pm)
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10, Eric W. Biederman, (Thu Aug 14, 6:01 pm)
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10, Eric W. Biederman, (Thu Aug 14, 6:09 pm)
Re: [PATCH 00/53] dyn_array/nr_irqs/sparse_irq support v10, Eric W. Biederman, (Thu Aug 14, 7:33 pm)