From 41ef4fec87e5e658762cb7a94fcba59d147bfca8 Mon Sep 17 00:00:00 2001 From: Prarit Bhargava Date: Tue, 15 May 2007 01:41:43 -0700 Subject: [PATCH] Remove cpu hotplug defines for __INIT & __INITDATA After examining what was checked in and the code base I discovered that most of 4235a75f2097c228cb997c0fd47b3416c7c435b8 wasn't necessary anymore.... So here's a patch that reverts the last part of that changeset: Revert part of 4235a75f2097c228cb997c0fd47b3416c7c435b8. 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 Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/linux/init.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/linux/init.h b/include/linux/init.h index 8bc32bb2fce20..e007ae4dc41e7 100644 --- a/include/linux/init.h +++ b/include/linux/init.h @@ -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__ /* -- 2.39.5