projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8543e6c
)
microblaze: Mark get_frame_size as static
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 18 Dec 2014 14:45:38 +0000
(15:45 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Mon, 5 Jan 2015 11:36:44 +0000
(12:36 +0100)
It is used only locally in unwind.c.
The patch removes warning:
arch/microblaze/kernel/unwind.c:62:13: warning: no previous prototype
for 'get_frame_size' [-Wmissing-prototypes]
inline long get_frame_size(unsigned long instr)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/kernel/unwind.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/microblaze/kernel/unwind.c
b/arch/microblaze/kernel/unwind.c
index 1f7b8d4496681e452dc5d8f13f817ca8100a2c88..61c04eed14d5fae6e1d6d57adbe39977d2a9e456 100644
(file)
--- a/
arch/microblaze/kernel/unwind.c
+++ b/
arch/microblaze/kernel/unwind.c
@@
-59,7
+59,7
@@
struct stack_trace;
*
* Return - Number of stack bytes the instruction reserves or reclaims
*/
-inline long get_frame_size(unsigned long instr)
+
static
inline long get_frame_size(unsigned long instr)
{
return abs((s16)(instr & 0xFFFF));
}