summaryrefslogtreecommitdiff
path: root/arch/sparc/crypto/sha1_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/crypto/sha1_glue.c')
-rw-r--r--arch/sparc/crypto/sha1_glue.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc/crypto/sha1_glue.c b/arch/sparc/crypto/sha1_glue.c
index 6bd1abc5489d..2bbb20bee9f1 100644
--- a/arch/sparc/crypto/sha1_glue.c
+++ b/arch/sparc/crypto/sha1_glue.c
@@ -21,6 +21,8 @@
#include <asm/pstate.h>
#include <asm/elf.h>
+#include "opcodes.h"
+
asmlinkage void sha1_sparc64_transform(u32 *digest, const char *data,
unsigned int rounds);
@@ -136,7 +138,7 @@ static struct shash_alg alg = {
.base = {
.cra_name = "sha1",
.cra_driver_name= "sha1-sparc64",
- .cra_priority = 150,
+ .cra_priority = SPARC_CR_OPCODE_PRIORITY,
.cra_flags = CRYPTO_ALG_TYPE_SHASH,
.cra_blocksize = SHA1_BLOCK_SIZE,
.cra_module = THIS_MODULE,