diff options
author | Andi Kleen <ak@linux.intel.com> | 2013-08-10 21:01:11 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-08-14 06:42:03 -0400 |
commit | f22d08111a1d23f7432ee8d9c2dd637deb6963bd (patch) | |
tree | f794dbdeb0be639588845fa505b40b1fd5d98b9f /crypto/cast_common.c | |
parent | 3a4eac799b7b8afa00e621a88092a93dd4de2506 (diff) |
crypto: make tables used from assembler __visible
Tables used from assembler should be marked __visible to let
the compiler know.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cast_common.c')
-rw-r--r-- | crypto/cast_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/cast_common.c b/crypto/cast_common.c index a15f523d5f56..117dd8250f27 100644 --- a/crypto/cast_common.c +++ b/crypto/cast_common.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <crypto/cast_common.h> | 16 | #include <crypto/cast_common.h> |
17 | 17 | ||
18 | const u32 cast_s1[256] = { | 18 | __visible const u32 cast_s1[256] = { |
19 | 0x30fb40d4, 0x9fa0ff0b, 0x6beccd2f, 0x3f258c7a, 0x1e213f2f, | 19 | 0x30fb40d4, 0x9fa0ff0b, 0x6beccd2f, 0x3f258c7a, 0x1e213f2f, |
20 | 0x9c004dd3, 0x6003e540, 0xcf9fc949, | 20 | 0x9c004dd3, 0x6003e540, 0xcf9fc949, |
21 | 0xbfd4af27, 0x88bbbdb5, 0xe2034090, 0x98d09675, 0x6e63a0e0, | 21 | 0xbfd4af27, 0x88bbbdb5, 0xe2034090, 0x98d09675, 0x6e63a0e0, |
@@ -83,7 +83,7 @@ const u32 cast_s1[256] = { | |||
83 | }; | 83 | }; |
84 | EXPORT_SYMBOL_GPL(cast_s1); | 84 | EXPORT_SYMBOL_GPL(cast_s1); |
85 | 85 | ||
86 | const u32 cast_s2[256] = { | 86 | __visible const u32 cast_s2[256] = { |
87 | 0x1f201094, 0xef0ba75b, 0x69e3cf7e, 0x393f4380, 0xfe61cf7a, | 87 | 0x1f201094, 0xef0ba75b, 0x69e3cf7e, 0x393f4380, 0xfe61cf7a, |
88 | 0xeec5207a, 0x55889c94, 0x72fc0651, | 88 | 0xeec5207a, 0x55889c94, 0x72fc0651, |
89 | 0xada7ef79, 0x4e1d7235, 0xd55a63ce, 0xde0436ba, 0x99c430ef, | 89 | 0xada7ef79, 0x4e1d7235, 0xd55a63ce, 0xde0436ba, 0x99c430ef, |
@@ -151,7 +151,7 @@ const u32 cast_s2[256] = { | |||
151 | }; | 151 | }; |
152 | EXPORT_SYMBOL_GPL(cast_s2); | 152 | EXPORT_SYMBOL_GPL(cast_s2); |
153 | 153 | ||
154 | const u32 cast_s3[256] = { | 154 | __visible const u32 cast_s3[256] = { |
155 | 0x8defc240, 0x25fa5d9f, 0xeb903dbf, 0xe810c907, 0x47607fff, | 155 | 0x8defc240, 0x25fa5d9f, 0xeb903dbf, 0xe810c907, 0x47607fff, |
156 | 0x369fe44b, 0x8c1fc644, 0xaececa90, | 156 | 0x369fe44b, 0x8c1fc644, 0xaececa90, |
157 | 0xbeb1f9bf, 0xeefbcaea, 0xe8cf1950, 0x51df07ae, 0x920e8806, | 157 | 0xbeb1f9bf, 0xeefbcaea, 0xe8cf1950, 0x51df07ae, 0x920e8806, |
@@ -219,7 +219,7 @@ const u32 cast_s3[256] = { | |||
219 | }; | 219 | }; |
220 | EXPORT_SYMBOL_GPL(cast_s3); | 220 | EXPORT_SYMBOL_GPL(cast_s3); |
221 | 221 | ||
222 | const u32 cast_s4[256] = { | 222 | __visible const u32 cast_s4[256] = { |
223 | 0x9db30420, 0x1fb6e9de, 0xa7be7bef, 0xd273a298, 0x4a4f7bdb, | 223 | 0x9db30420, 0x1fb6e9de, 0xa7be7bef, 0xd273a298, 0x4a4f7bdb, |
224 | 0x64ad8c57, 0x85510443, 0xfa020ed1, | 224 | 0x64ad8c57, 0x85510443, 0xfa020ed1, |
225 | 0x7e287aff, 0xe60fb663, 0x095f35a1, 0x79ebf120, 0xfd059d43, | 225 | 0x7e287aff, 0xe60fb663, 0x095f35a1, 0x79ebf120, 0xfd059d43, |