Skip to content

Commit

Permalink
frv: convert frv to use __HEAD and HEAD_TEXT macros.
Browse files Browse the repository at this point in the history
This has the consequence of changing the section name use for head
code from ".text.head" to ".head.text".  Since this commit changes all
users in the architecture, this change should be harmless.

Signed-off-by: Tim Abbott <tabbott@mit.edu>
Cc: David Howells <dhowells@redhat.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Tim Abbott authored and Linus Torvalds committed Apr 26, 2009
1 parent 92ca523 commit b6a8d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion arch/frv/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* 2 of the License, or (at your option) any later version.
*/

#include <linux/init.h>
#include <linux/threads.h>
#include <linux/linkage.h>
#include <asm/thread_info.h>
Expand All @@ -27,7 +28,7 @@
# command line string
#
###############################################################################
.section .text.head,"ax"
__HEAD
.balign 4

.globl _boot, __head_reference
Expand Down
2 changes: 1 addition & 1 deletion arch/frv/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SECTIONS

_sinittext = .;
.init.text : {
*(.text.head)
HEAD_TEXT
#ifndef CONFIG_DEBUG_INFO
INIT_TEXT
EXIT_TEXT
Expand Down

0 comments on commit b6a8d95

Please sign in to comment.