diff options
author | Andreas Larsson <andreas@gaisler.com> | 2014-12-05 04:55:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-11 21:51:56 -0500 |
commit | 92f268eefe38c62aaf9ee9cea5e05f2abf9d3d60 (patch) | |
tree | 2f7bca1555657ca64523979f9d90060ec9d97148 /arch/sparc | |
parent | 70e71ca0af244f48a5dcf56dc435243792e3a495 (diff) |
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 <andreas@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/leon_smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
368 | unsigned long arg5; | 368 | unsigned long arg5; |
369 | unsigned long processors_in[NR_CPUS]; /* Set when ipi entered. */ | 369 | unsigned long processors_in[NR_CPUS]; /* Set when ipi entered. */ |
370 | unsigned long processors_out[NR_CPUS]; /* Set when ipi exited. */ | 370 | unsigned long processors_out[NR_CPUS]; /* Set when ipi exited. */ |
371 | } ccall_info; | 371 | } ccall_info __attribute__((aligned(8))); |
372 | 372 | ||
373 | static DEFINE_SPINLOCK(cross_call_lock); | 373 | static DEFINE_SPINLOCK(cross_call_lock); |
374 | 374 | ||