aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/init.h')
-rw-r--r--include/linux/init.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index 79af0962fd52..94769d687cf0 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -39,7 +39,7 @@
39 39
40/* These are for everybody (although not all archs will actually 40/* These are for everybody (although not all archs will actually
41 discard it in modules) */ 41 discard it in modules) */
42#define __init __section(.init.text) __cold notrace __latent_entropy 42#define __init __section(.init.text) __cold __inittrace __latent_entropy
43#define __initdata __section(.init.data) 43#define __initdata __section(.init.data)
44#define __initconst __section(.init.rodata) 44#define __initconst __section(.init.rodata)
45#define __exitdata __section(.exit.data) 45#define __exitdata __section(.exit.data)
@@ -68,8 +68,10 @@
68 68
69#ifdef MODULE 69#ifdef MODULE
70#define __exitused 70#define __exitused
71#define __inittrace notrace
71#else 72#else
72#define __exitused __used 73#define __exitused __used
74#define __inittrace
73#endif 75#endif
74 76
75#define __exit __section(.exit.text) __exitused __cold notrace 77#define __exit __section(.exit.text) __exitused __cold notrace