init: delete the __cpuinit related stubs
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 27 Apr 2015 21:37:53 +0000 (17:37 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 16 Jun 2015 18:12:23 +0000 (14:12 -0400)
The __cpuinit support was removed several releases ago in 3.11-rc1 with
commit 22f0a27367742f65130c0fb25ef00f7297e032c1 ("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: Paul Gortmaker <paul.gortmaker@windriver.com>
include/linux/init.h
scripts/tags.sh

index 21b6d768edd7a4e0f1aee98ed9f437000fa1b996..7c68c36d3fd88788f043447c5bed889cdd408bb6 100644 (file)
 
 #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 */
 #define __meminit        __section(.meminit.text) __cold notrace
 #define __meminitdata    __section(.meminit.data)
 #define __INITRODATA   .section        ".init.rodata","a",%progbits
 #define __FINITDATA    .previous
 
-/* temporary, until all users are removed */
-#define __CPUINIT
-
 #define __MEMINIT        .section      ".meminit.text", "ax"
 #define __MEMINITDATA    .section      ".meminit.data", "aw"
 #define __MEMINITRODATA  .section      ".meminit.rodata", "a"
index cdb491d845035e59bff19a5cde7f1ca84c28c17f..c0a932dff3290c4675688f5ce865c1f933a88b0d 100755 (executable)
@@ -154,7 +154,7 @@ exuberant()
 {
        all_target_sources | xargs $1 -a                        \
        -I __initdata,__exitdata,__initconst,                   \
-       -I __cpuinitdata,__initdata_memblock                    \
+       -I __initdata_memblock                                  \
        -I __refdata,__attribute,__maybe_unused,__always_unused \
        -I __acquires,__releases,__deprecated                   \
        -I __read_mostly,__aligned,____cacheline_aligned        \