mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
s390/relocate_kernel: use SYM* macros instead of ENTRY(), etc.
Consistently use the SYM* family of macros instead of the deprecated ENTRY(), ENDPROC(), etc. family of macros. Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
fda1dffa44
commit
680957b3b8
1 changed files with 7 additions and 9 deletions
|
@ -26,7 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
ENTRY(relocate_kernel)
|
SYM_CODE_START(relocate_kernel)
|
||||||
basr %r13,0 # base address
|
basr %r13,0 # base address
|
||||||
.base:
|
.base:
|
||||||
lghi %r7,PAGE_SIZE # load PAGE_SIZE in r7
|
lghi %r7,PAGE_SIZE # load PAGE_SIZE in r7
|
||||||
|
@ -66,13 +66,11 @@ ENTRY(relocate_kernel)
|
||||||
mvc 0(8,%r0),0(%r4) # copy psw to absolute address 0
|
mvc 0(8,%r0),0(%r4) # copy psw to absolute address 0
|
||||||
.diag:
|
.diag:
|
||||||
diag %r0,%r0,0x308
|
diag %r0,%r0,0x308
|
||||||
ENDPROC(relocate_kernel)
|
SYM_CODE_END(relocate_kernel)
|
||||||
|
|
||||||
.align 8
|
.balign 8
|
||||||
load_psw:
|
SYM_DATA_START_LOCAL(load_psw)
|
||||||
.long 0x00080000,0x80000000
|
.long 0x00080000,0x80000000
|
||||||
relocate_kernel_end:
|
SYM_DATA_END_LABEL(load_psw, SYM_L_LOCAL, relocate_kernel_end)
|
||||||
.align 8
|
.balign 8
|
||||||
.globl relocate_kernel_len
|
SYM_DATA(relocate_kernel_len, .quad relocate_kernel_end - relocate_kernel)
|
||||||
relocate_kernel_len:
|
|
||||||
.quad relocate_kernel_end - relocate_kernel
|
|
||||||
|
|
Loading…
Reference in a new issue