[PATCH 2/4] ARM: Allow optional UP processor functions for SMP kernels

2010-08-17 Thread Tony Lindgren
Attempt to detect if the hardware is UP hardware, and use the optional UP specific processors functions in struct proc_info_list if available. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/include/asm/procinfo.h |6 + arch/arm/include/asm/smp_plat.h |9

Re: [PATCH 2/4] ARM: Allow optional UP processor functions for SMP kernels

2010-08-17 Thread Russell King - ARM Linux
On Tue, Aug 17, 2010 at 01:53:25PM +0300, Tony Lindgren wrote: diff --git a/arch/arm/include/asm/smp_plat.h b/arch/arm/include/asm/smp_plat.h index e621530..1c2f587 100644 --- a/arch/arm/include/asm/smp_plat.h +++ b/arch/arm/include/asm/smp_plat.h @@ -18,4 +18,13 @@ static inline int

Re: [PATCH 2/4] ARM: Allow optional UP processor functions for SMP kernels

2010-08-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [100817 14:01]: On Tue, Aug 17, 2010 at 01:53:25PM +0300, Tony Lindgren wrote: + if (list-proc_up) + processor = *list-proc_up; + + if (list-tlb_up) + cpu_tlb = *list-tlb_up; + + if (list-cache_up) +