diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-12-18 09:45:38 -0500 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-01-05 06:36:44 -0500 |
commit | e14ebe417c7c4e58c50ef143d99d797757749762 (patch) | |
tree | 6624a11350f41333583babb51e046578a7d2b72d /arch/microblaze | |
parent | 8543e6c96762fcc930af5725088c2b9e4865c3aa (diff) |
microblaze: Mark get_frame_size as static
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>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/kernel/unwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/unwind.c b/arch/microblaze/kernel/unwind.c index 1f7b8d449668..61c04eed14d5 100644 --- a/arch/microblaze/kernel/unwind.c +++ b/arch/microblaze/kernel/unwind.c | |||
@@ -59,7 +59,7 @@ struct stack_trace; | |||
59 | * | 59 | * |
60 | * Return - Number of stack bytes the instruction reserves or reclaims | 60 | * Return - Number of stack bytes the instruction reserves or reclaims |
61 | */ | 61 | */ |
62 | inline long get_frame_size(unsigned long instr) | 62 | static inline long get_frame_size(unsigned long instr) |
63 | { | 63 | { |
64 | return abs((s16)(instr & 0xFFFF)); | 64 | return abs((s16)(instr & 0xFFFF)); |
65 | } | 65 | } |