mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-25 12:04:46 +08:00
Remove cpu hotplug defines for __INIT & __INITDATA
After examining what was checked in and the code base I discovered that most of86c0baf123
wasn't necessary anymore.... So here's a patch that reverts the last part of that changeset: Revert part of86c0baf123
. 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>
This commit is contained in:
parent
3bd2aad210
commit
838c41184f
@ -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__
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user