projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e71ca
)
sparc32, leon: Align ccall_info to prevent unaligned traps on crosscall
author
Andreas Larsson
<andreas@gaisler.com>
Fri, 5 Dec 2014 09:55:28 +0000
(10:55 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 12 Dec 2014 02:51:56 +0000
(18:51 -0800)
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>
arch/sparc/kernel/leon_smp.c
patch
|
blob
|
history
diff --git
a/arch/sparc/kernel/leon_smp.c
b/arch/sparc/kernel/leon_smp.c
index
ea2bad3
..
71e16f2
100644
(file)
--- 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);