aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/gdb-stub.c
diff options
context:
space:
mode:
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 7c46b336c7db..ba0afb4a649c 100644
--- a/arch/mips/kernel/gdb-stub.c
+++ b/arch/mips/kernel/gdb-stub.c
@@ -1039,12 +1039,12 @@ void adel(void)
1039 * malloc is needed by gdb client in "call func()", even a private one 1039 * malloc is needed by gdb client in "call func()", even a private one
1040 * will make gdb happy 1040 * will make gdb happy
1041 */ 1041 */
1042static void *malloc(size_t size) 1042static void * __attribute_used__ malloc(size_t size)
1043{ 1043{
1044 return kmalloc(size, GFP_ATOMIC); 1044 return kmalloc(size, GFP_ATOMIC);
1045} 1045}
1046 1046
1047static void free(void *where) 1047static void __attribute_used__ free (void *where)
1048{ 1048{
1049 kfree(where); 1049 kfree(where);
1050} 1050}