diff options
author | David S. Miller <davem@davemloft.net> | 2012-09-15 12:06:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-15 12:06:30 -0400 |
commit | 1080362425793f67e36dc690973e13e4a9631b4d (patch) | |
tree | 7c41ddc540679c9782ca9b448cbca8f52e9b6d47 /drivers/crypto | |
parent | c69ad0a3f7d871aa61fb669fb41c951df6660a61 (diff) |
sparc64: Adjust crypto priorities.
Make the crypto opcode implementations have a higher priority than
those provides by the ring buffer based Niagara crypto device.
Also, several crypto opcode hashes were not setting the priority value
at all.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/n2_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c index a8bd0310f8fe..aab257403b4a 100644 --- a/drivers/crypto/n2_core.c +++ b/drivers/crypto/n2_core.c | |||
@@ -42,7 +42,7 @@ MODULE_DESCRIPTION("Niagara2 Crypto driver"); | |||
42 | MODULE_LICENSE("GPL"); | 42 | MODULE_LICENSE("GPL"); |
43 | MODULE_VERSION(DRV_MODULE_VERSION); | 43 | MODULE_VERSION(DRV_MODULE_VERSION); |
44 | 44 | ||
45 | #define N2_CRA_PRIORITY 300 | 45 | #define N2_CRA_PRIORITY 200 |
46 | 46 | ||
47 | static DEFINE_MUTEX(spu_lock); | 47 | static DEFINE_MUTEX(spu_lock); |
48 | 48 | ||