diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/ftrace.h | 2 | ||||
-rw-r--r-- | include/linux/init.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 4936489f9ed8..6b232a2460c0 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -165,10 +165,12 @@ ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } | |||
165 | #ifdef CONFIG_FTRACE_MCOUNT_RECORD | 165 | #ifdef CONFIG_FTRACE_MCOUNT_RECORD |
166 | extern void ftrace_init(void); | 166 | extern void ftrace_init(void); |
167 | extern void ftrace_init_module(unsigned long *start, unsigned long *end); | 167 | extern void ftrace_init_module(unsigned long *start, unsigned long *end); |
168 | extern void ftrace_release(void *start, unsigned long size); | ||
168 | #else | 169 | #else |
169 | static inline void ftrace_init(void) { } | 170 | static inline void ftrace_init(void) { } |
170 | static inline void | 171 | static inline void |
171 | ftrace_init_module(unsigned long *start, unsigned long *end) { } | 172 | ftrace_init_module(unsigned long *start, unsigned long *end) { } |
173 | static inline void ftrace_release(void *start, unsigned long size) { } | ||
172 | #endif | 174 | #endif |
173 | 175 | ||
174 | #endif /* _LINUX_FTRACE_H */ | 176 | #endif /* _LINUX_FTRACE_H */ |
diff --git a/include/linux/init.h b/include/linux/init.h index 93538b696e3d..27f61f6b3cb9 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
@@ -40,7 +40,7 @@ | |||
40 | 40 | ||
41 | /* These are for everybody (although not all archs will actually | 41 | /* These are for everybody (although not all archs will actually |
42 | discard it in modules) */ | 42 | discard it in modules) */ |
43 | #define __init __section(.init.text) __cold | 43 | #define __init __section(.init.text) __cold notrace |
44 | #define __initdata __section(.init.data) | 44 | #define __initdata __section(.init.data) |
45 | #define __initconst __section(.init.rodata) | 45 | #define __initconst __section(.init.rodata) |
46 | #define __exitdata __section(.exit.data) | 46 | #define __exitdata __section(.exit.data) |