Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

s390/boot: get rid of magic numbers for startup offsets

Use STARTUP_NORMAL_OFFSET and STARTUP_KDUMP_OFFSET instead of magic numbers.

Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>

authored by

Alexander Egorenkov and committed by
Heiko Carstens
8b6bd6f2 36af1c5c

+4 -4
+4 -4
arch/s390/boot/head.S
··· 274 274 .Lcpuid:.fill 8,1,0 275 275 276 276 # 277 - # startup-code at 0x10000, running in absolute addressing mode 277 + # normal startup-code, running in absolute addressing mode 278 278 # this is called either by the ipl loader or directly by PSW restart 279 279 # or linload or SALIPL 280 280 # 281 - .org 0x10000 281 + .org STARTUP_NORMAL_OFFSET 282 282 SYM_CODE_START(startup) 283 283 j startup_normal 284 284 .org EP_OFFSET ··· 291 291 .ascii EP_STRING 292 292 .byte 0x00,0x01 293 293 # 294 - # kdump startup-code at 0x10010, running in 64 bit absolute addressing mode 294 + # kdump startup-code, running in 64 bit absolute addressing mode 295 295 # 296 - .org 0x10010 296 + .org STARTUP_KDUMP_OFFSET 297 297 j startup_kdump 298 298 SYM_CODE_END(startup) 299 299 SYM_CODE_START_LOCAL(startup_normal)