[PATCH 6/6] crypto: vmx - Fix aes_p8_xts_decrypt build failure

Tim Gardner tim.gardner at canonical.com
Tue Aug 16 19:00:47 UTC 2016

From: Herbert Xu <herbert at gondor.apana.org.au>

BugLink: http://bugs.launchpad.net/bugs/1613295

We use _GLOBAL so there is no need to do the manual alignment,
in fact it causes a build failure.

Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
(cherry picked from commit 16dee78005be9908197c707393a3b6a61a14b4fb)
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
 drivers/crypto/vmx/aesp8-ppc.pl | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/crypto/vmx/aesp8-ppc.pl b/drivers/crypto/vmx/aesp8-ppc.pl
index 813ffcc..0b4a293 100644
--- a/drivers/crypto/vmx/aesp8-ppc.pl
+++ b/drivers/crypto/vmx/aesp8-ppc.pl
@@ -2125,8 +2125,6 @@ Lxts_enc_ret:
 .size	.${prefix}_xts_encrypt,.-.${prefix}_xts_encrypt
 .globl	.${prefix}_xts_decrypt
-.align	5
 	mr		$inp,r3				# reassign
 	li		r3,-1
 	${UCMP}i	$len,16

More information about the kernel-team mailing list