Remove cpu hotplug defines for __INIT & __INITDATA
authorPrarit Bhargava <prarit@redhat.com>
Tue, 15 May 2007 08:41:43 +0000 (01:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 15 May 2007 15:54:00 +0000 (08:54 -0700)
After examining what was checked in and the code base I discovered that most
of 86c0baf123e474b6eb404798926ecf62b426bf3a wasn't necessary anymore....

So here's a patch that reverts the last part of that changeset:

Revert part of 86c0baf123e474b6eb404798926ecf62b426bf3a.

The kernel has moved forward to a state where the original change is not
necessary.  After porting forward, this final version of the patch was
applied and broke non-x86 architectures.

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/init.h

index 8bc32bb2fce20a23e04b9327b1912a59f5e97252..e007ae4dc41e7c553fe44aaea3a11dc81f1a9779 100644 (file)
 #endif
 
 /* For assembly routines */
-#ifdef CONFIG_HOTPLUG_CPU
-#define __INIT         .section        ".text","ax"
-#define __INITDATA     .section        ".data","aw"
-#else
 #define __INIT         .section        ".init.text","ax"
-#define __INITDATA     .section        ".init.data","aw"
-#endif
 #define __FINIT                .previous
+#define __INITDATA     .section        ".init.data","aw"
 
 #ifndef __ASSEMBLY__
 /*