summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/traps.c
diff options
context:
space:
mode:
authorBreno Leitao2018-08-16 19:21:07 +0200
committerMichael Ellerman2018-10-03 07:40:05 +0200
commit5c784c8414fba11b62e12439f11e109fb5751f38 (patch)
tree795b5fbe16792a53ce9ea3796e4b7261e50213d4 /arch/powerpc/kernel/traps.c
parentpowerpc/powernv: Mark function as __noreturn (diff)
downloadkernel-qcow2-linux-5c784c8414fba11b62e12439f11e109fb5751f38.tar.gz
kernel-qcow2-linux-5c784c8414fba11b62e12439f11e109fb5751f38.tar.xz
kernel-qcow2-linux-5c784c8414fba11b62e12439f11e109fb5751f38.zip
powerpc/tm: Remove msr_tm_active()
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: Breno Leitao <leitao@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions