diff options
author | David Rientjes <rientjes@google.com> | 2007-07-22 04:01:39 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-24 11:02:47 -0400 |
commit | f5dbeaf5ed3938beea8e58ee473982a4bcadc172 (patch) | |
tree | 1e9b799a4b89ee5499885cd633ecb3a9e7e565d6 /arch/mips/kernel/vpe.c | |
parent | fce2303166a8f214a890bd405e0088febdce765f (diff) |
[MIPS] Replace __attribute_used__ with __used
Replaces the deprecated __attribute_used__ with __used. Also makes some
style adjustments to abide by the kernel coding conventions.
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/vpe.c')
-rw-r--r-- | arch/mips/kernel/vpe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c index 9e66354dee8b..a2bee10f04cf 100644 --- a/arch/mips/kernel/vpe.c +++ b/arch/mips/kernel/vpe.c | |||
@@ -154,7 +154,6 @@ struct { | |||
154 | }; | 154 | }; |
155 | 155 | ||
156 | static void release_progmem(void *ptr); | 156 | static void release_progmem(void *ptr); |
157 | /* static __attribute_used__ void dump_vpe(struct vpe * v); */ | ||
158 | extern void save_gp_address(unsigned int secbase, unsigned int rel); | 157 | extern void save_gp_address(unsigned int secbase, unsigned int rel); |
159 | 158 | ||
160 | /* get the vpe associated with this minor */ | 159 | /* get the vpe associated with this minor */ |
@@ -1024,7 +1023,7 @@ static int vpe_elfload(struct vpe * v) | |||
1024 | return 0; | 1023 | return 0; |
1025 | } | 1024 | } |
1026 | 1025 | ||
1027 | __attribute_used__ void dump_vpe(struct vpe * v) | 1026 | void __used dump_vpe(struct vpe * v) |
1028 | { | 1027 | { |
1029 | struct tc *t; | 1028 | struct tc *t; |
1030 | 1029 | ||