summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/gdb-stub.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2007-07-22 01:01:39 -0700
committerRalf Baechle <ralf@linux-mips.org>2007-07-24 16:02:47 +0100
commitf5dbeaf5ed3938beea8e58ee473982a4bcadc172 (patch)
tree1e9b799a4b89ee5499885cd633ecb3a9e7e565d6 /arch/mips/kernel/gdb-stub.c
parentfce2303166a8f214a890bd405e0088febdce765f (diff)
downloadblackbird-op-linux-f5dbeaf5ed3938beea8e58ee473982a4bcadc172.tar.gz
blackbird-op-linux-f5dbeaf5ed3938beea8e58ee473982a4bcadc172.zip
[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/gdb-stub.c')
-rw-r--r--arch/mips/kernel/gdb-stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/kernel/gdb-stub.c b/arch/mips/kernel/gdb-stub.c
index 7bc882049269..cb5623aad552 100644
--- a/arch/mips/kernel/gdb-stub.c
+++ b/arch/mips/kernel/gdb-stub.c
@@ -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);
}
OpenPOWER on IntegriCloud