OSDN Git Service

[MIPS] Fix build after b0rked changes to <linux/init.h>.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 30 Jan 2008 12:14:59 +0000 (12:14 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Feb 2008 14:48:43 +0000 (14:48 +0000)
Commit 312b1485fb509c9bc32eda28ad29537896658cb8 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 the best fix is to
get replace it by the modern days operator.  With MIPS the only user
of __INIT_REFOK and __INITDATA_REFOK (which was equally broken) being
unused anyway these can be deleted but that's subject of a separate
commit.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/head.S

index 50be56c..a24fb79 100644 (file)
@@ -140,7 +140,7 @@ FEXPORT(__kernel_entry)
        j       kernel_entry
 #endif
 
-       __INIT_REFOK
+       __REF
 
 NESTED(kernel_entry, 16, sp)                   # kernel entry point