• B
    powerpc/tm: Remove msr_tm_active() · 052bc385
    Breno Leitao 提交于
    [ Upstream commit 5c784c8414fba11b62e12439f11e109fb5751f38 ]
    
    Currently msr_tm_active() is a wrapper around MSR_TM_ACTIVE() if
    CONFIG_PPC_TRANSACTIONAL_MEM is set, or it is just a function that
    returns false if CONFIG_PPC_TRANSACTIONAL_MEM is not set.
    
    This function is not necessary, since MSR_TM_ACTIVE() just do the same and
    could be used, removing the dualism and simplifying the code.
    
    This patchset remove every instance of msr_tm_active() and replaced it
    by MSR_TM_ACTIVE().
    Signed-off-by: NBreno Leitao <leitao@debian.org>
    Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: NSasha Levin <sashal@kernel.org>
    052bc385
process.c 55.6 KB