Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92f268ee authored by Andreas Larsson's avatar Andreas Larsson Committed by David S. Miller
Browse files

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: default avatarAndreas Larsson <andreas@gaisler.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 70e71ca0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);