Commit 22c1587a authored by Paul Gortmaker's avatar Paul Gortmaker

init: delete the __cpuinit related stubs

The __cpuinit support was removed several releases ago in 3.11-rc1 with
commit 22f0a273 ("init.h: remove __cpuinit
sections from the kernel")

People have had a chance to update their out of tree code, so now we remove
the no-op stubs to ensure no more new use cases can creep back in.

Also delete the mention of __cpuinitdata from the tag script.
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 5ffa70f0
...@@ -91,14 +91,6 @@ ...@@ -91,14 +91,6 @@
#define __exit __section(.exit.text) __exitused __cold notrace #define __exit __section(.exit.text) __exitused __cold notrace
/* temporary, until all users are removed */
#define __cpuinit
#define __cpuinitdata
#define __cpuinitconst
#define __cpuexit
#define __cpuexitdata
#define __cpuexitconst
/* Used for MEMORY_HOTPLUG */ /* Used for MEMORY_HOTPLUG */
#define __meminit __section(.meminit.text) __cold notrace #define __meminit __section(.meminit.text) __cold notrace
#define __meminitdata __section(.meminit.data) #define __meminitdata __section(.meminit.data)
...@@ -116,9 +108,6 @@ ...@@ -116,9 +108,6 @@
#define __INITRODATA .section ".init.rodata","a",%progbits #define __INITRODATA .section ".init.rodata","a",%progbits
#define __FINITDATA .previous #define __FINITDATA .previous
/* temporary, until all users are removed */
#define __CPUINIT
#define __MEMINIT .section ".meminit.text", "ax" #define __MEMINIT .section ".meminit.text", "ax"
#define __MEMINITDATA .section ".meminit.data", "aw" #define __MEMINITDATA .section ".meminit.data", "aw"
#define __MEMINITRODATA .section ".meminit.rodata", "a" #define __MEMINITRODATA .section ".meminit.rodata", "a"
......
...@@ -154,7 +154,7 @@ exuberant() ...@@ -154,7 +154,7 @@ exuberant()
{ {
all_target_sources | xargs $1 -a \ all_target_sources | xargs $1 -a \
-I __initdata,__exitdata,__initconst, \ -I __initdata,__exitdata,__initconst, \
-I __cpuinitdata,__initdata_memblock \ -I __initdata_memblock \
-I __refdata,__attribute,__maybe_unused,__always_unused \ -I __refdata,__attribute,__maybe_unused,__always_unused \
-I __acquires,__releases,__deprecated \ -I __acquires,__releases,__deprecated \
-I __read_mostly,__aligned,____cacheline_aligned \ -I __read_mostly,__aligned,____cacheline_aligned \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment