From: Andreas Larsson Date: Fri, 5 Dec 2014 09:55:28 +0000 (+0100) Subject: sparc32, leon: Align ccall_info to prevent unaligned traps on crosscall X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92f268eefe38c62aaf9ee9cea5e05f2abf9d3d60;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git sparc32, leon: Align ccall_info to prevent unaligned traps on crosscall It is being filled in using std in leon_cross_call. Signed-off-by: Andreas Larsson Signed-off-by: David S. Miller --- diff --git a/arch/sparc/kernel/leon_smp.c b/arch/sparc/kernel/leon_smp.c index ea2bad306f93..71e16f2241c2 100644 --- a/arch/sparc/kernel/leon_smp.c +++ b/arch/sparc/kernel/leon_smp.c @@ -368,7 +368,7 @@ static struct smp_funcall { unsigned long arg5; unsigned long processors_in[NR_CPUS]; /* Set when ipi entered. */ unsigned long processors_out[NR_CPUS]; /* Set when ipi exited. */ -} ccall_info; +} ccall_info __attribute__((aligned(8))); static DEFINE_SPINLOCK(cross_call_lock);