Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | Tejun Heo <> | Subject | [PATCH 3/9] x86: Make default_send_IPI_mask_sequence/allbutself_logical() 32bit only | Date | Thu, 11 Nov 2010 12:02:37 +0100 |
| |
Both functions are used only in 32bit. Put them inside CONFIG_X86_32. This is to prepare for logical apicid handling update.
Signed-off-by: Tejun Heo <tj@kernel.org> --- arch/x86/kernel/apic/ipi.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/apic/ipi.c b/arch/x86/kernel/apic/ipi.c index 08385e0..5037736 100644 --- a/arch/x86/kernel/apic/ipi.c +++ b/arch/x86/kernel/apic/ipi.c @@ -56,6 +56,8 @@ void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask, local_irq_restore(flags); } +#ifdef CONFIG_X86_32 + void default_send_IPI_mask_sequence_logical(const struct cpumask *mask, int vector) { @@ -96,8 +98,6 @@ void default_send_IPI_mask_allbutself_logical(const struct cpumask *mask, local_irq_restore(flags); } -#ifdef CONFIG_X86_32 - /* * This is only used on smaller machines. */ -- 1.7.1
| ![\](/images/icornerr.gif) |