On Tue, Sep 1, 2009 at 16:54, Konrad Eisele<konrad@xxxxxxxxxxx> wrote: > Julian Calaby wrote: >> >>> struct leon3_irqctrl_regs_map *leon3_irqctrl_regs; /* interrupt >>> controller base address, initialized by amba_init() */ >>> struct leon3_gptimer_regs_map *leon3_gptimer_regs; /* timer controller >>> base address, initialized by amba_init() */ >>> struct amba_apb_device leon_percpu_timer_dev[16]; >>> diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c >>> index 509b1ff..d55c255 100644 >>> --- a/arch/sparc/mm/srmmu.c >>> +++ b/arch/sparc/mm/srmmu.c >>> @@ -2301,7 +2301,8 @@ void __init ld_mmu_srmmu(void) >>> BTFIXUPSET_CALL(flush_cache_mm, smp_flush_cache_mm, >>> BTFIXUPCALL_NORM); >>> BTFIXUPSET_CALL(flush_cache_range, smp_flush_cache_range, >>> BTFIXUPCALL_NORM); >>> BTFIXUPSET_CALL(flush_cache_page, smp_flush_cache_page, >>> BTFIXUPCALL_NORM); >>> - if (sparc_cpu_model != sun4d) { >>> + if (sparc_cpu_model != sun4d && >>> + sparc_cpu_model != sparc_leon) { >>> BTFIXUPSET_CALL(flush_tlb_all, smp_flush_tlb_all, >>> BTFIXUPCALL_NORM); >>> BTFIXUPSET_CALL(flush_tlb_mm, smp_flush_tlb_mm, >>> BTFIXUPCALL_NORM); >>> BTFIXUPSET_CALL(flush_tlb_range, smp_flush_tlb_range, >>> BTFIXUPCALL_NORM); >> >> Again, doesn't seem SMP related. > > This is in srmmu.c inside a CONFIG_SMP section: > #ifdef CONFIG_SMP > /* El switcheroo... */ > ... >>> + if (sparc_cpu_model != sun4d && >>> + sparc_cpu_model != sparc_leon) { > ... > #endif That's what I get from reading over the patch at work without access to the actual codebase. Thanks! -- Julian Calaby Email: julian.calaby@xxxxxxxxx .Plan: http://sites.google.com/site/juliancalaby/ -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html