Skip to content

Commit

Permalink
[MIPS] Fix build after b0rked changes to <linux/init.h>.
Browse files Browse the repository at this point in the history
Commit 312b148 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>
  • Loading branch information
Ralf Baechle committed Feb 1, 2008
1 parent 24e1c13 commit a055917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ FEXPORT(__kernel_entry)
j kernel_entry
#endif

__INIT_REFOK
__REF

NESTED(kernel_entry, 16, sp) # kernel entry point

Expand Down

0 comments on commit a055917

Please sign in to comment.