powerpc/code-patching: Add a helper to get the address of a patch_site
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 19 Oct 2018 06:55:04 +0000 (06:55 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 26 Oct 2018 10:58:58 +0000 (21:58 +1100)
commit082e2869fc022de4db9977e06558da78384ea98c
tree077a560066417e1d08a05ad3b25d0da1ef12f454
parentcc4ebf5c0a3440ed0a32d25c55ebdb6ce5f3c0bc
powerpc/code-patching: Add a helper to get the address of a patch_site

This patch adds a helper to get the address of a patch_site.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Call it "patch site" addr]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/code-patching.h