]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - arch/x86/kernel/trampoline_64.S
x86: cpuinit-annotate SMP boot trampolines properly
[~shefty/rdma-dev.git] / arch / x86 / kernel / trampoline_64.S
index cddfb8d386b927bce74e8b82e78a23aeaa83c04a..596d54c660a5e63f819b46a06561b2b0ce3fcd90 100644 (file)
  */
 
 #include <linux/linkage.h>
+#include <linux/init.h>
 #include <asm/pgtable_types.h>
 #include <asm/page_types.h>
 #include <asm/msr.h>
 #include <asm/segment.h>
 #include <asm/processor-flags.h>
 
-.section .rodata, "a", @progbits
-
+/* We can free up the trampoline after bootup if cpu hotplug is not supported. */
+__CPUINITRODATA
 .code16
 
 ENTRY(trampoline_data)