• Will Deacon's avatar
    ARM: nommu: define dummy TLB operations for nommu configurations · 5c709e69
    Will Deacon authored
    nommu platforms do not perform address translation and therefore clearly
    don't have TLBs. However, some SMP code assumes the presence of the TLB
    flushing routines and will therefore fail to compile for a nommu system.
    
    This patch defines dummy local_* TLB operations and #defines
    tlb_ops_need_broadcast() as 0, therefore causing the usual ARM SMP TLB
    operations to call the local variants instead.
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    CC: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    CC: Nicolas Pitre <nico@linaro.org>
    5c709e69
smp_plat.h 1.42 KB