public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86/EFI: properly init-annotate BGRT code
@ 2012-11-23 16:30 Jan Beulich
  2013-01-24 20:34 ` [tip:x86/debug] x86/EFI: Properly " tip-bot for Jan Beulich
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Beulich @ 2012-11-23 16:30 UTC (permalink / raw)
  To: mjg; +Cc: mingo, tglx, linux-kernel, hpa

These items are only ever referenced from initialization code.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

---
 arch/x86/platform/efi/efi-bgrt.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

--- 3.7-rc6/arch/x86/platform/efi/efi-bgrt.c
+++ 3.7-rc6-x86-BGRT-init/arch/x86/platform/efi/efi-bgrt.c
@@ -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;




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-25 19:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-23 16:30 [PATCH] x86/EFI: properly init-annotate BGRT code Jan Beulich
2013-01-24 20:34 ` [tip:x86/debug] x86/EFI: Properly " tip-bot for Jan Beulich
2013-01-24 22:28   ` Josh Triplett
2013-01-25  7:45     ` Jan Beulich
2013-01-25 16:03       ` Josh Triplett
2013-01-25 18:36         ` Ingo Molnar
2013-01-25 19:18           ` Josh Triplett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox