2016-04-05 13:03:25

by Mike Galbraith

[permalink] [raw]
Subject: [patch] 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
Signed-off-by: Mike Galbraith <[email protected]>
---
drivers/crypto/ccp/ccp-dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 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>


2016-04-15 14:28:45

by Herbert Xu

[permalink] [raw]
Subject: Re: [patch] crypto,ccp: Fix RT breaking #include <linux/rwlock_types.h>

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 <[email protected]>

Applied.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt