On Thu, Mar 01, 2007 at 04:18:23PM +0900, Fernando Luis Vázquez Cao wrote: > Move definition of hard_smp_processor_id to asm/smp.h on alpha, m32r, > powerpc, s390, sparc, sparc64, and um architectures. > > Signed-off-by: Fernando Luis Vazquez Cao <[EMAIL PROTECTED]> > --- > > diff -urNp linux-2.6.21-rc2/include/asm-alpha/smp.h > linux-2.6.21-rc2-hwcpuid/include/asm-alpha/smp.h > --- linux-2.6.21-rc2/include/asm-alpha/smp.h 2007-02-05 03:44:54.000000000 > +0900 > +++ linux-2.6.21-rc2-hwcpuid/include/asm-alpha/smp.h 2007-03-07 > 13:34:14.000000000 +0900 > @@ -51,6 +51,7 @@ int smp_call_function_on_cpu(void (*func > > #else /* CONFIG_SMP */ > > +#define hard_smp_processor_id() 0 > #define smp_call_function_on_cpu(func,info,retry,wait,cpu) ({ 0; }) > > #endif /* CONFIG_SMP */
/me thinks you should merge this patch with patch 1. Otherwise there is no hard_smp_processor_id() defined on any architecture if only patch 1 is applied. That would break a git bisect search. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/