]> git.baikalelectronics.ru Git - kernel.git/commit
x86/realmode: Make set_real_mode_mem() static inline
authorMatteo Croce <mcroce@redhat.com>
Thu, 28 Mar 2019 11:42:33 +0000 (12:42 +0100)
committerBorislav Petkov <bp@suse.de>
Fri, 29 Mar 2019 09:16:27 +0000 (10:16 +0100)
commitb41b9ede48cf149f7ef4fa448ae43ee856c315ee
tree1c3df8ad14c04659a821adae338d354ef4c9dc6f
parent801998d578c384bdee79715ac7facf0c1f3ac665
x86/realmode: Make set_real_mode_mem() static inline

Remove the unused @size argument and move it into a header file, so it
can be inlined.

 [ bp: Massage. ]

Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: linux-efi <linux-efi@vger.kernel.org>
Cc: platform-driver-x86@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Link: https://lkml.kernel.org/r/20190328114233.27835-1-mcroce@redhat.com
arch/x86/include/asm/realmode.h
arch/x86/platform/efi/quirks.c
arch/x86/realmode/init.c