OSDN Git Service

powerpc: Export tm_enable()/tm_disable/tm_abort() APIs
authorSimon Guo <wei.guo.simon@gmail.com>
Wed, 23 May 2018 07:01:46 +0000 (15:01 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 May 2018 06:04:02 +0000 (16:04 +1000)
commiteacbb218fbbab5923775059f7232a9622dc47b2a
tree76c0bffc2dfe73c02677fc0d3ded93fb20b20aef
parentab3759b5734544dd1430527c3d89730990cfa4bb
powerpc: Export tm_enable()/tm_disable/tm_abort() APIs

This patch exports tm_enable()/tm_disable/tm_abort() APIs, which
will be used for PR KVM transactional memory logic.

Signed-off-by: Simon Guo <wei.guo.simon@gmail.com>
Reviewed-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/asm-prototypes.h
arch/powerpc/include/asm/tm.h
arch/powerpc/kernel/tm.S
arch/powerpc/mm/hash_utils_64.c