[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>
This commit is contained in:
David Rientjes
2007-07-22 01:01:39 -07:00
committed by Ralf Baechle
parent fce2303166
commit f5dbeaf5ed
6 changed files with 8 additions and 9 deletions

View File

@ -154,7 +154,6 @@ struct {
};
static void release_progmem(void *ptr);
/* static __attribute_used__ void dump_vpe(struct vpe * v); */
extern void save_gp_address(unsigned int secbase, unsigned int rel);
/* get the vpe associated with this minor */
@ -1024,7 +1023,7 @@ static int vpe_elfload(struct vpe * v)
return 0;
}
__attribute_used__ void dump_vpe(struct vpe * v)
void __used dump_vpe(struct vpe * v)
{
struct tc *t;