Skip to content

Commit

Permalink
Remove __INIT_REFOK and __INITDATA_REFOK
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 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: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Ralf Baechle authored and Sam Ravnborg committed Feb 3, 2008
1 parent e5f95c8 commit 470a81a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/linux/init.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@
#define __REF .section ".ref.text", "ax"
#define __REFDATA .section ".ref.data", "aw"
#define __REFCONST .section ".ref.rodata", "aw"
/* backward compatibility */
#define __INIT_REFOK .section __REF
#define __INITDATA_REFOK .section __REFDATA

#ifndef __ASSEMBLY__
/*
Expand Down

0 comments on commit 470a81a

Please sign in to comment.