Skip to content

Commit

Permalink
Remove cpu hotplug defines for __INIT & __INITDATA
Browse files Browse the repository at this point in the history
After examining what was checked in and the code base I discovered that most
of 86c0baf wasn't necessary anymore....

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

Revert part of 86c0baf.

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>
  • Loading branch information
Prarit Bhargava authored and Linus Torvalds committed May 15, 2007
1 parent 3bd2aad commit 838c411
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions include/linux/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,9 @@
#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__
/*
Expand Down

0 comments on commit 838c411

Please sign in to comment.