summaryrefslogtreecommitdiff
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-01-05 02:29:08 +0400
committerH. Peter Anvin <hpa@linux.intel.com>2014-01-05 02:29:08 +0400
commit6f34152f54bcf63a49ea701643c81f5b2168fec8 (patch)
tree0edf33d1754c855e2affad29685c87f8dba56a16 /arch/x86/boot
parente24df921af484e9b7095ee06d236dabdb3bd9c1c (diff)
downloadlinux-6f34152f54bcf63a49ea701643c81f5b2168fec8.tar.xz
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
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/bioscall.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/boot/bioscall.S b/arch/x86/boot/bioscall.S
index 507793739ea5..d401b4a262b0 100644
--- a/arch/x86/boot/bioscall.S
+++ b/arch/x86/boot/bioscall.S
@@ -1,6 +1,6 @@
/* -----------------------------------------------------------------------
*
- * Copyright 2009 Intel Corporation; author H. Peter Anvin
+ * Copyright 2009-2014 Intel Corporation; author H. Peter Anvin
*
* This file is part of the Linux kernel, and is made available under
* the terms of the GNU General Public License version 2 or (at your
@@ -14,7 +14,7 @@
*/
.code16
- .text
+ .section ".inittext","ax"
.globl intcall
.type intcall, @function
intcall: