Re: [PATCH 3/9] x86: Makedefault_send_IPI_mask_sequence/allbutself_logical() 32bit only

From: Cyrill Gorcunov
Date: Thu Nov 11 2010 - 11:18:26 EST


On Thu, Nov 11, 2010 at 12:02:37PM +0100, Tejun Heo wrote:
> 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@xxxxxxxxxx>
> ---
> 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)

It still remains defined in ipi.h as external symbol without CONFIG_X86_32.

Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/