* [PATCH] sparc32,leon: Align ccall_info to prevent unaligned traps on crosscall
@ 2014-12-05 9:55 Andreas Larsson
2014-12-12 2:53 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Larsson @ 2014-12-05 9:55 UTC (permalink / raw)
To: davem; +Cc: sparclinux, linux-kernel, software
It is being filled in using std in leon_cross_call.
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
---
arch/sparc/kernel/leon_smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sparc/kernel/leon_smp.c b/arch/sparc/kernel/leon_smp.c
index ea2bad3..71e16f2 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);
--
1.7.10.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-12 2:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-05 9:55 [PATCH] sparc32,leon: Align ccall_info to prevent unaligned traps on crosscall Andreas Larsson
2014-12-12 2:53 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®