Commit 470a81ae authored by Ralf Baechle's avatar Ralf Baechle Committed by Sam Ravnborg

Remove __INIT_REFOK and __INITDATA_REFOK

Commit 312b1485 made __INIT_REFOK expand
into .section .section ".ref.text", "ax".  Since the assembler doesn't
tolerate stuttering in the source that broke all MIPS builds.

Since with this change Sam downgraded __INIT_REFOK to just a backward
compat thing and there being only a single use in the MIPS arch code the
best solution is to delete both of __INIT_REFOK and __INITDATA_REFOK (which
was equally broken) being unused anyway these can be deleted.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent e5f95c8b
...@@ -124,9 +124,6 @@ ...@@ -124,9 +124,6 @@
#define __REF .section ".ref.text", "ax" #define __REF .section ".ref.text", "ax"
#define __REFDATA .section ".ref.data", "aw" #define __REFDATA .section ".ref.data", "aw"
#define __REFCONST .section ".ref.rodata", "aw" #define __REFCONST .section ".ref.rodata", "aw"
/* backward compatibility */
#define __INIT_REFOK .section __REF
#define __INITDATA_REFOK .section __REFDATA
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment