aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/init.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-01-23 12:31:01 -0500
committerTejun Heo <tj@kernel.org>2013-01-23 12:31:01 -0500
commitc14afb82ffff5903a701a9fb737ac20f36d1f755 (patch)
tree304dcc7b1d7b9a5f564f7e978228e61ef41fbef2 /include/linux/init.h
parent0fdff3ec6d87856cdcc99e69cf42143fdd6c56b4 (diff)
parent1d8549085377674224bf30a368284c391a3ce40e (diff)
Merge branch 'master' into for-3.9-async
To receive f56c3196f251012de9b3ebaff55732a9074fdaae ("async: fix __lowest_in_progress()"). Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/init.h')
-rw-r--r--include/linux/init.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index 9230c9408d8b..861814710d52 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -93,14 +93,6 @@
93 93
94#define __exit __section(.exit.text) __exitused __cold notrace 94#define __exit __section(.exit.text) __exitused __cold notrace
95 95
96/* Used for HOTPLUG, but that is always enabled now, so just make them noops */
97#define __devinit
98#define __devinitdata
99#define __devinitconst
100#define __devexit
101#define __devexitdata
102#define __devexitconst
103
104/* Used for HOTPLUG_CPU */ 96/* Used for HOTPLUG_CPU */
105#define __cpuinit __section(.cpuinit.text) __cold notrace 97#define __cpuinit __section(.cpuinit.text) __cold notrace
106#define __cpuinitdata __section(.cpuinit.data) 98#define __cpuinitdata __section(.cpuinit.data)
@@ -338,18 +330,6 @@ void __init parse_early_options(char *cmdline);
338#define __INITRODATA_OR_MODULE __INITRODATA 330#define __INITRODATA_OR_MODULE __INITRODATA
339#endif /*CONFIG_MODULES*/ 331#endif /*CONFIG_MODULES*/
340 332
341/* Functions marked as __devexit may be discarded at kernel link time, depending
342 on config options. Newer versions of binutils detect references from
343 retained sections to discarded sections and flag an error. Pointers to
344 __devexit functions must use __devexit_p(function_name), the wrapper will
345 insert either the function_name or NULL, depending on the config options.
346 */
347#if defined(MODULE) || defined(CONFIG_HOTPLUG)
348#define __devexit_p(x) x
349#else
350#define __devexit_p(x) NULL
351#endif
352
353#ifdef MODULE 333#ifdef MODULE
354#define __exit_p(x) x 334#define __exit_p(x) x
355#else 335#else