Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62837
b: refs/heads/master
c: f5dbeaf
h: refs/heads/master
i:
  62835: d8eaf3b
v: v3
  • Loading branch information
David Rientjes authored and Ralf Baechle committed Jul 24, 2007
1 parent 6e8a484 commit 3ec2c5b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fce2303166a8f214a890bd405e0088febdce765f
refs/heads/master: f5dbeaf5ed3938beea8e58ee473982a4bcadc172
4 changes: 2 additions & 2 deletions trunk/arch/mips/kernel/gdb-stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -1099,12 +1099,12 @@ void adel(void)
* malloc is needed by gdb client in "call func()", even a private one
* will make gdb happy
*/
static void * __attribute_used__ malloc(size_t size)
static void __used *malloc(size_t size)
{
return kmalloc(size, GFP_ATOMIC);
}

static void __attribute_used__ free (void *where)
static void __used free(void *where)
{
kfree(where);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/kernel/linux32.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ asmlinkage long sys32_fadvise64_64(int fd, int __pad,
}

save_static_function(sys32_clone);
__attribute_used__ noinline static int
static int noinline __used
_sys32_clone(nabi_no_regargs struct pt_regs regs)
{
unsigned long clone_flags;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/kernel/rtlx.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static irqreturn_t rtlx_interrupt(int irq, void *dev_id)
return IRQ_HANDLED;
}

static __attribute_used__ void dump_rtlx(void)
static void __used dump_rtlx(void)
{
int i;

Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/mips/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot,
}

save_static_function(sys_fork);
__attribute_used__ noinline static int
static int __used noinline
_sys_fork(nabi_no_regargs struct pt_regs regs)
{
return do_fork(SIGCHLD, regs.regs[29], &regs, 0, NULL, NULL);
}

save_static_function(sys_clone);
__attribute_used__ noinline static int
static int __used noinline
_sys_clone(nabi_no_regargs struct pt_regs regs)
{
unsigned long clone_flags;
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/mips/kernel/vpe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/mm/c-sb1.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void sb1_flush_cache_data_page(unsigned long)
/*
* Invalidate all caches on this CPU
*/
static void __attribute_used__ local_sb1___flush_cache_all(void)
static void __used local_sb1___flush_cache_all(void)
{
__sb1_writeback_inv_dcache_all();
__sb1_flush_icache_all();
Expand Down

0 comments on commit 3ec2c5b

Please sign in to comment.