Messages in this thread | | | Date | Thu, 11 Nov 2010 19:18:17 +0300 | From | Cyrill Gorcunov <> | Subject | Re: [PATCH 3/9] x86: Make default_send_IPI_mask_sequence/allbutself_logical() 32bit only |
| |
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@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)
It still remains defined in ipi.h as external symbol without CONFIG_X86_32.
Cyrill
| |