Skip to content

Commit 6f34152

Browse files
author
H. Peter Anvin
committed
x86, boot: Move intcall() to the .inittext section
The .inittext section tries to aggregate all functions which are needed to get a message out in the case of a load failure. However, putchar() uses intcall(), so intcall() should be in the .inittext section. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Link: http://lkml.kernel.org/n/tip-twxm8igouzbmsklmf6lfyq0w@git.kernel.org
1 parent e24df92 commit 6f34152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/boot/bioscall.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* -----------------------------------------------------------------------
22
*
3-
* Copyright 2009 Intel Corporation; author H. Peter Anvin
3+
* Copyright 2009-2014 Intel Corporation; author H. Peter Anvin
44
*
55
* This file is part of the Linux kernel, and is made available under
66
* the terms of the GNU General Public License version 2 or (at your
@@ -14,7 +14,7 @@
1414
*/
1515

1616
.code16
17-
.text
17+
.section ".inittext","ax"
1818
.globl intcall
1919
.type intcall, @function
2020
intcall:

0 commit comments

Comments
 (0)