2009-11-18 16:15:40

by Jiri Kosina

[permalink] [raw]
Subject: [PATCH -next] crypto: ghash - put proper .data section in place

Lbswap_mask, Lpoly and Ltwo_one should clearly belong to
.data section, not .text.

Signed-off-by: Jiri Kosina <[email protected]>
---
arch/x86/crypto/ghash-clmulni-intel_asm.S | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/x86/crypto/ghash-clmulni-intel_asm.S b/arch/x86/crypto/ghash-clmulni-intel_asm.S
index 5958498..24f84e1 100644
--- a/arch/x86/crypto/ghash-clmulni-intel_asm.S
+++ b/arch/x86/crypto/ghash-clmulni-intel_asm.S
@@ -19,6 +19,8 @@
#include <linux/linkage.h>
#include <asm/i387.h>

+.data
+
.align 16
.Lbswap_mask:
.octa 0x000102030405060708090a0b0c0d0e0f
--
1.5.6


2009-11-23 12:20:07

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH -next] crypto: ghash - put proper .data section in place

On Wed, Nov 18, 2009 at 05:15:44PM +0100, Jiri Kosina wrote:
> Lbswap_mask, Lpoly and Ltwo_one should clearly belong to
> .data section, not .text.
>
> Signed-off-by: Jiri Kosina <[email protected]>

Patch applied. Thanks Jiri.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt