提交 92f268ee 编写于 作者: A Andreas Larsson 提交者: David S. Miller

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: NAndreas Larsson <andreas@gaisler.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 70e71ca0
...@@ -368,7 +368,7 @@ static struct smp_funcall { ...@@ -368,7 +368,7 @@ static struct smp_funcall {
unsigned long arg5; unsigned long arg5;
unsigned long processors_in[NR_CPUS]; /* Set when ipi entered. */ unsigned long processors_in[NR_CPUS]; /* Set when ipi entered. */
unsigned long processors_out[NR_CPUS]; /* Set when ipi exited. */ unsigned long processors_out[NR_CPUS]; /* Set when ipi exited. */
} ccall_info; } ccall_info __attribute__((aligned(8)));
static DEFINE_SPINLOCK(cross_call_lock); static DEFINE_SPINLOCK(cross_call_lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册