]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/linkage.h
mm/memory_hotplug: export generic_online_page()
[linux.git] / include / linux / linkage.h
index f3ae8f3dea2c75ddbca3b5955068d54fb432bb98..9280209d1f62c887d18c9de38f100a51c33b721d 100644 (file)
 
 /* === DEPRECATED annotations === */
 
+#ifndef CONFIG_X86
 #ifndef GLOBAL
 /* deprecated, use SYM_DATA*, SYM_ENTRY, or similar */
 #define GLOBAL(name) \
 #define ENTRY(name) \
        SYM_FUNC_START(name)
 #endif
+#endif /* CONFIG_X86 */
 #endif /* LINKER_SCRIPT */
 
+#ifndef CONFIG_X86
 #ifndef WEAK
 /* deprecated, use SYM_FUNC_START_WEAK* */
 #define WEAK(name)        \
 #define ENDPROC(name) \
        SYM_FUNC_END(name)
 #endif
+#endif /* CONFIG_X86 */
 
 /* === generic annotations === */