Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

powerpc: Use __REF macro instead of old .text.init.refok.

The section .text.init.refok is deprecated and __REF (.ref.text)
should be used in assembly files instead. This patch cleans up a few
uses of .text.init.refok in the powerpc architecture.

Signed-off-by: Tim Abbott <tabbott@mit.edu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Tim Abbott and committed by
Linus Torvalds
9203fc9c edada399

+3 -2
+3 -2
arch/powerpc/include/asm/ppc_asm.h
··· 4 4 #ifndef _ASM_POWERPC_PPC_ASM_H 5 5 #define _ASM_POWERPC_PPC_ASM_H 6 6 7 + #include <linux/init.h> 7 8 #include <linux/stringify.h> 8 9 #include <asm/asm-compat.h> 9 10 #include <asm/processor.h> ··· 190 189 GLUE(.,name): 191 190 192 191 #define _INIT_GLOBAL(name) \ 193 - .section ".text.init.refok"; \ 192 + __REF; \ 194 193 .align 2 ; \ 195 194 .globl name; \ 196 195 .globl GLUE(.,name); \ ··· 230 229 GLUE(.,name): 231 230 232 231 #define _INIT_STATIC(name) \ 233 - .section ".text.init.refok"; \ 232 + __REF; \ 234 233 .align 2 ; \ 235 234 .section ".opd","aw"; \ 236 235 name: \