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/gdb-stub.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/gdb-stub.c')
-rw-r--r-- | arch/mips/kernel/gdb-stub.c | 4 |
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) | |||
1099 | * malloc is needed by gdb client in "call func()", even a private one | 1099 | * malloc is needed by gdb client in "call func()", even a private one |
1100 | * will make gdb happy | 1100 | * will make gdb happy |
1101 | */ | 1101 | */ |
1102 | static void * __attribute_used__ malloc(size_t size) | 1102 | static void __used *malloc(size_t size) |
1103 | { | 1103 | { |
1104 | return kmalloc(size, GFP_ATOMIC); | 1104 | return kmalloc(size, GFP_ATOMIC); |
1105 | } | 1105 | } |
1106 | 1106 | ||
1107 | static void __attribute_used__ free (void *where) | 1107 | static void __used free(void *where) |
1108 | { | 1108 | { |
1109 | kfree(where); | 1109 | kfree(where); |
1110 | } | 1110 | } |