2016-03-18 07:34:36

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-05 12:45:47

by Herbert Xu

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

On Fri, Mar 18, 2016 at 08:34:29AM +0100, 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]>

Could you please resend this to linux-crypto? Thanks!
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

2016-04-05 13:04:04

by Mike Galbraith

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

On Tue, 2016-04-05 at 20:45 +0800, Herbert Xu wrote:
> On Fri, Mar 18, 2016 at 08:34:29AM +0100, 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]>
>
> Could you please resend this to linux-crypto? Thanks!

Done.

-MIke