Skip to content

Commit

Permalink
sh64: Move entry point code to .text.head.
Browse files Browse the repository at this point in the history
Follow the sh and m68k changes to silence the modpost warnings.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jul 20, 2007
1 parent beeea6d commit 5698200
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sh64/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ empty_bad_pte_table:
fpu_in_use: .quad 0


.section .text, "ax"
.section .text.head, "ax"
.balign L1_CACHE_BYTES
/*
* Condition at the entry of __stext:
Expand Down
1 change: 1 addition & 0 deletions arch/sh64/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ SECTIONS
} = 0

.text : C_PHYS(.text) {
*(.text.head)
TEXT_TEXT
*(.text64)
*(.text..SHmedia32)
Expand Down

0 comments on commit 5698200

Please sign in to comment.