• Rusty Russell's avatar
    [PATCH] switch_mm and enter_lazy_tlb: remove cpu arg · 8a6879c6
    Rusty Russell authored
    switch_mm and enter_lazy_tlb take a CPU arg, which is always
    smp_processor_id().  This is misleading, and pointless if they use
    per-cpu variables or other optimizations.  gcc will eliminate
    redundant smp_processor_id() (in inline functions) anyway.
    
    This removes that arg from all the architectures.
    8a6879c6
mmu_context.h 4.22 KB