OSDN Git Service

s390: use proper expoline sections for .dma code
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 12 Apr 2019 06:57:34 +0000 (08:57 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 2 May 2019 11:54:11 +0000 (13:54 +0200)
commitbf72630130c29e2ba42e3db8d502de6bdfaa7d9a
tree6aeb3a616b6da8e58281a5f63bd5ec8e6cfb056f
parent40a3abf751dd0ff9ef758fd5c14530f557cd432d
s390: use proper expoline sections for .dma code

The text_dma.S code uses its own macro to generate an inline version of an
expoline. To make it easier to identify all expolines in the kernel use a
thunk and a branch to the thunk just like the rest of the kernel code does
it.

The name of the text_dma.S expoline thunk is __dma__s390_indirect_jump_r14
and the section is named .dma.text.__s390_indirect_jump_r14.

This will be needed for the objtool support.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/boot/text_dma.S