Skip to content

Commit

Permalink
x86, boot: Move intcall() to the .inittext section
Browse files Browse the repository at this point in the history
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
  • Loading branch information
H. Peter Anvin committed Jan 4, 2014
1 parent e24df92 commit 6f34152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/boot/bioscall.S
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -14,7 +14,7 @@
*/

.code16
.text
.section ".inittext","ax"
.globl intcall
.type intcall, @function
intcall:
Expand Down

0 comments on commit 6f34152

Please sign in to comment.