powerpc: define FUNC_START/FUNC_END
authorAnton Blanchard <anton@samba.org>
Thu, 30 Jun 2016 22:19:44 +0000 (08:19 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 5 Jul 2016 15:05:16 +0000 (23:05 +0800)
commit151f25112ff7befc134ed3fc58b0ff8792b3169e
tree1eeddf4aa5efa636b528efa568c795cc85420a2c
parent27710b8ea3defcbd7d340dbd0423d911b4eb7c4f
powerpc: define FUNC_START/FUNC_END

gcc provides FUNC_START/FUNC_END macros to help with creating
assembly functions. Mirror these in the kernel so we can more easily
share code between userspace and the kernel. FUNC_END is just a
stub since we don't currently annotate the end of kernel functions.

It might make sense to do a wholesale search and replace, but for
now just create a couple of defines.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/powerpc/include/asm/ppc_asm.h