提交 13f0e4d2 编写于 作者: J Jan Beulich 提交者: Ingo Molnar

x86/EFI: Properly init-annotate BGRT code

These items are only ever referenced from initialization code.
Signed-off-by: NJan Beulich <jbeulich@suse.com>
Cc: <mjg@redhat.com>
Link: http://lkml.kernel.org/r/50AFB29F02000078000AAE8E@nat28.tlf.novell.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
上级 ff7532ca
......@@ -11,20 +11,21 @@
* published by the Free Software Foundation.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/acpi.h>
#include <linux/efi.h>
#include <linux/efi-bgrt.h>
struct acpi_table_bgrt *bgrt_tab;
void *bgrt_image;
size_t bgrt_image_size;
void *__initdata bgrt_image;
size_t __initdata bgrt_image_size;
struct bmp_header {
u16 id;
u32 size;
} __packed;
void efi_bgrt_init(void)
void __init efi_bgrt_init(void)
{
acpi_status status;
void __iomem *image;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册