• Randy Dunlap's avatar
    xtensa: smp: add headers for missing function prototypes · 0f95df62
    Randy Dunlap authored
    Use <asm/smp.h> to provide the prototype for secondary_start_kernel().
    Use <linux/profile.h> to provide the prototype for
    setup_profiling_timer().
    
    arch/xtensa/kernel/smp.c:119:6: warning: no previous prototype for 'secondary_start_kernel' [-Wmissing-prototypes]
      119 | void secondary_start_kernel(void)
    arch/xtensa/kernel/smp.c:461:5: warning: no previous prototype for 'setup_profiling_timer' [-Wmissing-prototypes]
      461 | int setup_profiling_timer(unsigned int multiplier)
    Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
    Cc: Chris Zankel <chris@zankel.net>
    Cc: Max Filippov <jcmvbkbc@gmail.com>
    Message-Id: <20230920052139.10570-11-rdunlap@infradead.org>
    Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
    0f95df62
smp.c 13.4 KB