diff mbox

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

Message ID 1459861401.7776.4.camel@gmail.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Mike Galbraith April 5, 2016, 1:03 p.m. UTC
Direct include of rwlock_types.h breaks RT, use spinlock_types.h instead.

Fixes: 553d2374db0b crypto: ccp - Support for multiple CCPs
Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com>
---
 drivers/crypto/ccp/ccp-dev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Herbert Xu April 15, 2016, 2:28 p.m. UTC | #1
On Tue, Apr 05, 2016 at 03:03:21PM +0200, Mike Galbraith wrote:
> 
> Direct include of rwlock_types.h breaks RT, use spinlock_types.h instead.
> 
> Fixes: 553d2374db0b crypto: ccp - Support for multiple CCPs
> Signed-off-by: Mike Galbraith <umgwanakikbuti@gmail.com>

Applied.
diff mbox

Patch

--- a/drivers/crypto/ccp/ccp-dev.c
+++ b/drivers/crypto/ccp/ccp-dev.c
@@ -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>