ARM64: smp: Fix function prototypes

The following prototypes lost a void during a merge:

arch/arm64/kernel/smp.c:833:13: error: function declaration isn't a prototype
[-Werror=strict-prototypes]
 static void local_cpu_stop()
             ^~~~~~~~~~~~~~
arch/arm64/kernel/smp.c:861:6: error: function declaration isn't a prototype
[-Werror=strict-prototypes]
 void panic_smp_self_stop()
      ^~~~~~~~~~~~~~~~~~~
Fixes: <6784375db8> (Merge remote-tracking branch
'remotes/origin/tmp-1a9d915' into msm-lahaina).

Change-Id: Ic0dedbadf87a76cf632e2a2f51c00d275e4b1af1
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
This commit is contained in:
Jordan Crouse 2019-08-05 09:39:01 -06:00 • committed by Raghavendra Rao Ananta
commit c9e4cda0b7

View file

@ -830,7 +830,7 @@ static DEFINE_RAW_SPINLOCK(stop_lock);
static DEFINE_PER_CPU(struct pt_regs, regs_before_stop);
static void local_cpu_stop()
static void local_cpu_stop(void)
{
unsigned int cpu = smp_processor_id();
struct pt_regs *regs = get_irq_regs();
@ -858,7 +858,7 @@ static void local_cpu_stop()
* that cpu_online_mask gets correctly updated and smp_send_stop() can skip
* CPUs that have already stopped themselves.
*/
void panic_smp_self_stop()
void panic_smp_self_stop(void)
{
local_cpu_stop();
}