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

Commit c9e4cda0 authored by Jordan Crouse's avatar Jordan Crouse Committed by Raghavendra Rao Ananta
Browse files

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: <6784375d> (Merge remote-tracking branch
'remotes/origin/tmp-1a9d9156' into msm-lahaina).

Change-Id: Ic0dedbadf87a76cf632e2a2f51c00d275e4b1af1
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 844cb3e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
}