Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55887
b: refs/heads/master
c: 0a9d6e7
h: refs/heads/master
i:
  55885: 6491ee9
  55883: 7cde09e
  55879: eb55144
  55871: d182041
v: v3
  • Loading branch information
David Rientjes authored and Linus Torvalds committed May 11, 2007
1 parent 8549ef3 commit e0d4949
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 39bf6270f524bbe2682b56f2a979703abf937dd1
refs/heads/master: 0a9d6e7cb0d1e5acc61d481d7a1ea25c294c3dff
12 changes: 6 additions & 6 deletions trunk/arch/frv/kernel/gdb-stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -1195,7 +1195,7 @@ static void gdbstub_check_breakpoint(void)
/*
*
*/
static void __attribute__((unused)) gdbstub_show_regs(void)
static void __maybe_unused gdbstub_show_regs(void)
{
unsigned long *reg;
int loop;
Expand Down Expand Up @@ -1223,7 +1223,7 @@ static void __attribute__((unused)) gdbstub_show_regs(void)
/*
* dump debugging regs
*/
static void __attribute__((unused)) gdbstub_dump_debugregs(void)
static void __maybe_unused gdbstub_dump_debugregs(void)
{
gdbstub_printk("DCR %08lx ", __debug_status.dcr);
gdbstub_printk("BRR %08lx\n", __debug_status.brr);
Expand Down Expand Up @@ -2079,25 +2079,25 @@ void gdbstub_exit(int status)
* GDB wants to call malloc() and free() to allocate memory for calling kernel
* functions directly from its command line
*/
static void *malloc(size_t size) __attribute__((unused));
static void *malloc(size_t size) __maybe_unused;
static void *malloc(size_t size)
{
return kmalloc(size, GFP_ATOMIC);
}

static void free(void *p) __attribute__((unused));
static void free(void *p) __maybe_unused;
static void free(void *p)
{
kfree(p);
}

static uint32_t ___get_HSR0(void) __attribute__((unused));
static uint32_t ___get_HSR0(void) __maybe_unused;
static uint32_t ___get_HSR0(void)
{
return __get_HSR(0);
}

static uint32_t ___set_HSR0(uint32_t x) __attribute__((unused));
static uint32_t ___set_HSR0(uint32_t x) __maybe_unused;
static uint32_t ___set_HSR0(uint32_t x)
{
__set_HSR(0, x);
Expand Down

0 comments on commit e0d4949

Please sign in to comment.