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

Commit 475e68cf authored by Anton Blanchard's avatar Anton Blanchard Committed by Benjamin Herrenschmidt
Browse files

powerpc: Align thread->fpr to 16 bytes



On newer CPUs we use VSX loads and stores to the thread->fpr array.
For best performance we need to ensure 16 byte alignment.

Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 1b7e0cbe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -200,7 +200,7 @@ struct thread_struct {
#endif
#endif
	/* FP and VSX 0-31 register set */
	double		fpr[32][TS_FPRWIDTH];
	double		fpr[32][TS_FPRWIDTH] __attribute__((aligned(16)));
	struct {

		unsigned int pad;