|
@@ -2,6 +2,8 @@
|
|
|
#define _LINUX_INIT_H
|
|
|
|
|
|
#include <linux/compiler.h>
|
|
|
+#include <linux/section-names.h>
|
|
|
+#include <linux/stringify.h>
|
|
|
|
|
|
/* These macros are used to mark some functions or
|
|
|
* initialized data (doesn't apply to uninitialized data)
|
|
@@ -107,7 +109,7 @@
|
|
|
#define __memexitconst __section(.memexit.rodata)
|
|
|
|
|
|
/* For assembly routines */
|
|
|
-#define __HEAD .section ".head.text","ax"
|
|
|
+#define __HEAD .section __stringify(HEAD_TEXT_SECTION),"ax"
|
|
|
#define __INIT .section ".init.text","ax"
|
|
|
#define __FINIT .previous
|
|
|
|