]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - arch/x86/kernel/trampoline_32.S
x86: cpuinit-annotate SMP boot trampolines properly
[~shefty/rdma-dev.git] / arch / x86 / kernel / trampoline_32.S
index 66d874e5404cec797dbdab2fae1a84558ecbc50a..8508237e8e43634c6ec70c41302922d301cef512 100644 (file)
  */
 
 #include <linux/linkage.h>
+#include <linux/init.h>
 #include <asm/segment.h>
 #include <asm/page_types.h>
 
 /* We can free up trampoline after bootup if cpu hotplug is not supported. */
-#ifndef CONFIG_HOTPLUG_CPU
-.section ".cpuinit.data","aw",@progbits
-#else
-.section .rodata,"a",@progbits
-#endif
-
+__CPUINITRODATA
 .code16
 
 ENTRY(trampoline_data)