From: H. Peter Anvin Date: Sat, 4 Jan 2014 22:29:08 +0000 (-0800) Subject: x86, boot: Move intcall() to the .inittext section X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f34152f54bcf63a49ea701643c81f5b2168fec8;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git 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 Link: http://lkml.kernel.org/n/tip-twxm8igouzbmsklmf6lfyq0w@git.kernel.org --- 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: