diff options
Diffstat (limited to 'include/linux/init.h')
-rw-r--r-- | include/linux/init.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/include/linux/init.h b/include/linux/init.h index e59041e21df3..f63692d6902e 100644 --- a/include/linux/init.h +++ b/include/linux/init.h | |||
@@ -93,13 +93,13 @@ | |||
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 */ | 96 | /* Used for HOTPLUG, but that is always enabled now, so just make them noops */ |
97 | #define __devinit __section(.devinit.text) __cold notrace | 97 | #define __devinit |
98 | #define __devinitdata __section(.devinit.data) | 98 | #define __devinitdata |
99 | #define __devinitconst __constsection(.devinit.rodata) | 99 | #define __devinitconst |
100 | #define __devexit __section(.devexit.text) __exitused __cold notrace | 100 | #define __devexit |
101 | #define __devexitdata __section(.devexit.data) | 101 | #define __devexitdata |
102 | #define __devexitconst __constsection(.devexit.rodata) | 102 | #define __devexitconst |
103 | 103 | ||
104 | /* Used for HOTPLUG_CPU */ | 104 | /* Used for HOTPLUG_CPU */ |
105 | #define __cpuinit __section(.cpuinit.text) __cold notrace | 105 | #define __cpuinit __section(.cpuinit.text) __cold notrace |
@@ -126,10 +126,6 @@ | |||
126 | #define __INITRODATA .section ".init.rodata","a",%progbits | 126 | #define __INITRODATA .section ".init.rodata","a",%progbits |
127 | #define __FINITDATA .previous | 127 | #define __FINITDATA .previous |
128 | 128 | ||
129 | #define __DEVINIT .section ".devinit.text", "ax" | ||
130 | #define __DEVINITDATA .section ".devinit.data", "aw" | ||
131 | #define __DEVINITRODATA .section ".devinit.rodata", "a" | ||
132 | |||
133 | #define __CPUINIT .section ".cpuinit.text", "ax" | 129 | #define __CPUINIT .section ".cpuinit.text", "ax" |
134 | #define __CPUINITDATA .section ".cpuinit.data", "aw" | 130 | #define __CPUINITDATA .section ".cpuinit.data", "aw" |
135 | #define __CPUINITRODATA .section ".cpuinit.rodata", "a" | 131 | #define __CPUINITRODATA .section ".cpuinit.rodata", "a" |