[PATCH 0/8] cleanup old init and refok sections

From: Tim Abbott
Date: Mon Apr 27 2009 - 14:06:30 EST


Sam,

This patch series cleans up the use of the deprecated section names
.text.init, .text.init.refok, .exit.text.refok, and .data.init.refok
in the Linux kernel, replacing them with the appropriate macros that
reference the current names for these sections.

The long-term goal here is to be able to change the kernel's magic
section names to those that are compatible with -ffunction-sections
-fdata-sections. Doing so requires renaming all magic sections with
names of the form ".text.foo" or ".data.bar".

--

Tim Abbott (8):
frv: Remove unused header asm/init.h.
frv: Use __INIT macro instead of .text.init.
arm: Use __INIT macro instead of .text.init.
powerpc: Use TEXT_TEXT macro in linker script.
powerpc: Use __REF macro instead of old .text.init.refok.
sh: Use __INIT macro instead of .text.init.
sparc: cleanup references to deprecated .text.init* sections.
Remove unused support code for refok sections.

arch/arm/mm/proc-v6.S | 3 ++-
arch/arm/mm/proc-v7.S | 3 ++-
arch/arm/mm/tlb-v6.S | 3 ++-
arch/arm/mm/tlb-v7.S | 3 ++-
arch/frv/include/asm/init.h | 12 ------------
arch/frv/kernel/head-mmu-fr451.S | 3 ++-
arch/frv/kernel/head-uc-fr401.S | 3 ++-
arch/frv/kernel/head-uc-fr451.S | 3 ++-
arch/frv/kernel/head-uc-fr555.S | 3 ++-
arch/powerpc/include/asm/ppc_asm.h | 5 +++--
arch/powerpc/kernel/vmlinux.lds.S | 3 ++-
arch/sh/kernel/cpu/sh5/entry.S | 5 +++--
arch/sparc/kernel/head_32.S | 2 +-
arch/sparc/kernel/head_64.S | 2 +-
include/asm-generic/vmlinux.lds.h | 3 ---
include/linux/init.h | 8 --------
scripts/mod/modpost.c | 18 ------------------
17 files changed, 26 insertions(+), 56 deletions(-)
delete mode 100644 arch/frv/include/asm/init.h

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/