aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/init.h
diff options
context:
space:
mode:
authorkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-02-05 15:35:09 +0000
committerkaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk>2005-02-05 15:35:09 +0000
commite98bfa2604784f43a83ab550c13aa45fe6f19990 (patch)
tree8f7ff5fbac2b217df07254a9e861b450c693b446 /xen/include/xen/init.h
parent4fe70c2f8c4c43527fd66fc852bdff6eaaeb33c6 (diff)
downloadxen-e98bfa2604784f43a83ab550c13aa45fe6f19990.tar.gz
xen-e98bfa2604784f43a83ab550c13aa45fe6f19990.tar.bz2
xen-e98bfa2604784f43a83ab550c13aa45fe6f19990.zip
bitkeeper revision 1.1159.246.3 (4204e7ad2KYRVbyWiC88XmVkIag9Wg)
More common-code movements for ia64. Signed-off-by: keir.fraser@cl.cam.ac.uk
Diffstat (limited to 'xen/include/xen/init.h')
-rw-r--r--xen/include/xen/init.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/xen/include/xen/init.h b/xen/include/xen/init.h
index 9e1e62e48f..6df189f980 100644
--- a/xen/include/xen/init.h
+++ b/xen/include/xen/init.h
@@ -2,6 +2,7 @@
#define _LINUX_INIT_H
#include <xen/config.h>
+#include <asm/init.h>
/* These macros are used to mark some functions or
* initialized data (doesn't apply to uninitialized data)
@@ -83,30 +84,6 @@ extern struct kernel_param __setup_start, __setup_end;
#endif /* __ASSEMBLY__ */
-/*
- * Mark functions and data as being only used at initialization
- * or exit time.
- */
-#define __init \
- __attribute__ ((__section__ (".text.init")))
-#define __exit \
- __attribute_used__ __attribute__ ((__section__(".text.exit")))
-#define __initdata \
- __attribute__ ((__section__ (".data.init")))
-#define __exitdata \
- __attribute_used__ __attribute__ ((__section__ (".data.exit")))
-#define __initsetup \
- __attribute_used__ __attribute__ ((__section__ (".setup.init")))
-#define __init_call \
- __attribute_used__ __attribute__ ((__section__ (".initcall.init")))
-#define __exit_call \
- __attribute_used__ __attribute__ ((__section__ (".exitcall.exit")))
-
-/* For assembly routines */
-#define __INIT .section ".text.init","ax"
-#define __FINIT .previous
-#define __INITDATA .section ".data.init","aw"
-
#ifdef CONFIG_HOTPLUG
#define __devinit
#define __devinitdata