Skip to content

Commit

Permalink
[S390] .align 4096 statements in head.S
Browse files Browse the repository at this point in the history
SLES9 binutils don't like .align 4096 statements in head.S. Work around this
by using .org statements.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Jul 18, 2006
1 parent 53ba5e0 commit dc8f5d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arch/s390/kernel/head31.S
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ startup_continue:
.Lbss_end: .long _end
.Lparmaddr: .long PARMAREA
.Lsccbaddr: .long .Lsccb
.align 4096
.org 0x12000
.Lsccb:
.hword 0x1000 # length, one page
.byte 0x00,0x00,0x00
Expand All @@ -290,7 +290,7 @@ startup_continue:
.Lscpincr2:
.quad 0x00
.fill 3984,1,0
.align 4096
.org 0x13000

#ifdef CONFIG_SHARED_KERNEL
.org 0x100000
Expand Down
4 changes: 2 additions & 2 deletions arch/s390/kernel/head64.S
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ startup_continue:
.Lparmaddr:
.quad PARMAREA

.align 4096
.org 0x12000
.Lsccb:
.hword 0x1000 # length, one page
.byte 0x00,0x00,0x00
Expand All @@ -285,7 +285,7 @@ startup_continue:
.Lscpincr2:
.quad 0x00
.fill 3984,1,0
.align 4096
.org 0x13000

#ifdef CONFIG_SHARED_KERNEL
.org 0x100000
Expand Down

0 comments on commit dc8f5d2

Please sign in to comment.