mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
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:
parent
844cb3e3ab
commit
c9e4cda0b7
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue