• Breno Leitao's avatar
    powerpc/tm: Remove msr_tm_active() · 5c784c84
    Breno Leitao authored
    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: default avatarBreno Leitao <leitao@debian.org>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    5c784c84
reg.h 62.3 KB