Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e14ebe41 authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarMichal Simek <michal.simek@xilinx.com>
parent 8543e6c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
}