On Wed, 2009-06-10 at 15:48 +0400, Alexander Beregalov wrote: > Hi > > arch/x86/include/asm/smp.h: In function 'hard_smp_processor_id': > arch/x86/include/asm/smp.h:205: error: 'smp_ops' undeclared (first use > in this function) > > The code > static inline int hard_smp_processor_id(void) > { > return smp_ops.hard_smp_processor_id(); > } > should be under #ifdef CONFIG_SMP Actually, that won't work either ... it turns out the UP IO-APIC case needs hard_smp_processor_id(). I'm starting to think that turning it into an smp_ops function was the wrong thing to do. James -- To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html