summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/x86/machine/boot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/machine/boot.h b/arch/x86/machine/boot.h
index 7e0d609f..6b012f89 100644
--- a/arch/x86/machine/boot.h
+++ b/arch/x86/machine/boot.h
@@ -61,7 +61,7 @@
* Once paging is enabled, their access relies on the kernel identity mapping.
*/
#define __boot __section(".boot.text")
-#define __bootdata __section(".boot.data")
+#define __bootdata __section(".boot.data") __attribute__((used))
/*
* Boundaries of the .boot section.