projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f40611
)
Prevent gcc from optimizing a few functions away completly.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 14 Jul 2005 07:39:46 +0000
(07:39 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:52 +0000
(19:31 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/gdb-stub.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/gdb-stub.c
b/arch/mips/kernel/gdb-stub.c
index 7c46b336c7db876b0e90bd7ddfa255122a4af259..ba0afb4a649c0ee97a020d23db7a742acbdd7818 100644
(file)
--- a/
arch/mips/kernel/gdb-stub.c
+++ b/
arch/mips/kernel/gdb-stub.c
@@
-1039,12
+1039,12
@@
void adel(void)
* malloc is needed by gdb client in "call func()", even a private one
* will make gdb happy
*/
-static void *malloc(size_t size)
+static void *
__attribute_used__
malloc(size_t size)
{
return kmalloc(size, GFP_ATOMIC);
}
-static void
free
(void *where)
+static void
__attribute_used__ free
(void *where)
{
kfree(where);
}