summaryrefslogtreecommitdiff
path: root/include/linux/init.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-06-14 22:10:41 +0200
committerSam Ravnborg <sam@ravnborg.org>2009-06-14 22:10:41 +0200
commit7923f90fffa8746f6457d4eea2109fd3d6414189 (patch)
treecd262beed7fd28a20f708fdb7889d6c5d55f39d5 /include/linux/init.h
parentb9d97328e27b9272ed2ff2ad18de61aa1bf12af8 (diff)
downloadkernel-common-7923f90fffa8746f6457d4eea2109fd3d6414189.tar.gz
kernel-common-7923f90fffa8746f6457d4eea2109fd3d6414189.tar.bz2
kernel-common-7923f90fffa8746f6457d4eea2109fd3d6414189.zip
vmlinux.lds.h update
Updated after review by Tim Abbott. - Use HEAD_TEXT_SECTION - Drop use of section-names.h and delete file - Introduce EXIT_CALL Deleting section-names.h required a few simple updates of init.h Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Tim Abbott <tabbott@ksplice.com>
Diffstat (limited to 'include/linux/init.h')
-rw-r--r--include/linux/init.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index 9f70c9f25d4b..b2189803f19a 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -2,8 +2,6 @@
#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)
@@ -101,7 +99,7 @@
#define __memexitconst __section(.memexit.rodata)
/* For assembly routines */
-#define __HEAD .section __stringify(HEAD_TEXT_SECTION),"ax"
+#define __HEAD .section ".head.text","ax"
#define __INIT .section ".init.text","ax"
#define __FINIT .previous