Skip to contentSkip to conversation

crypto,ccp: Fix RT breaking #include <linux/rwlock_types.h>

PATCH In review Mike Galbraith 2 participants 3 messages Mar 18, 2016 – Apr 5, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto,ccp: Fix RT breaking #include <linux/rwlock_types.h>

Direct include of rwlock_types.h breaks RT, use spinlock_types.h instead.

Fixes 553d2374db0b crypto: ccp - Support for multiple CCPs
---
 drivers/crypto/ccp/ccp-dev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/ccp/ccp-dev.c +1 -1
@@ -16,7 +16,7 @@
 #include <linux/sched.h>
 #include <linux/interrupt.h>
 #include <linux/spinlock.h>
-#include <linux/rwlock_types.h>
+#include <linux/spinlock_types.h>
 #include <linux/types.h>
 #include <linux/mutex.h>
 #include <linux/delay.h>
maintainer
#1 lore raw
Quoted 5 lines · Mike Galbraith

Direct include of rwlock_types.h breaks RT, use spinlock_types.h instead.

Fixes 553d2374db0b crypto: ccp - Support for multiple CCPs

Could you please resend this to linux-crypto? Thanks!

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
#2 lore raw
Quoted 9 lines · Herbert Xu
Quoted 6 lines · Mike Galbraith

Direct include of rwlock_types.h breaks RT, use spinlock_types.h instead.

Fixes 553d2374db0b crypto: ccp - Support for multiple CCPs

Could you please resend this to linux-crypto? Thanks!

Done.

-MIke