• Arnd Bergmann's avatar
    arch: add missing prepare_ftrace_return() prototypes · 1d6571a8
    Arnd Bergmann authored
    The prototype for prepare_ftrace_return() is architecture specific and
    can't be in a global header. Since it's normally called from assembly,
    it doesn't really need a prototype, but we get a warning if it's missing:
    
    arch/csky/kernel/ftrace.c:147:6: error: no previous prototype for 'prepare_ftrace_return' [-Werror=missing-prototypes]
    arch/microblaze/kernel/ftrace.c:22:6: error: no previous prototype for 'prepare_ftrace_return' [-Werror=missing-prototypes]
    arch/mips/kernel/ftrace.c:305:6: error: no previous prototype for 'prepare_ftrace_return' [-Werror=missing-prototypes]
    
    Add the prototypes for the three architectures that don't already have
    one in asm/ftrace.h.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    1d6571a8
ftrace.h 671 Bytes