Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9203fc9c authored by Tim Abbott's avatar Tim Abbott Committed by Linus Torvalds
Browse files

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: default avatarTim Abbott <tabbott@mit.edu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent edada399
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
#ifndef _ASM_POWERPC_PPC_ASM_H
#define _ASM_POWERPC_PPC_ASM_H

#include <linux/init.h>
#include <linux/stringify.h>
#include <asm/asm-compat.h>
#include <asm/processor.h>
@@ -189,7 +190,7 @@ name: \
GLUE(.,name):

#define _INIT_GLOBAL(name) \
	.section ".text.init.refok"; \
	__REF; \
	.align 2 ; \
	.globl name; \
	.globl GLUE(.,name); \
@@ -229,7 +230,7 @@ name: \
GLUE(.,name):

#define _INIT_STATIC(name) \
	.section ".text.init.refok"; \
	__REF; \
	.align 2 ; \
	.section ".opd","aw"; \
name: \