linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] arm/xen: don't inclide rwlock.h directly.
@ 2017-10-05 12:56 Sebastian Andrzej Siewior
  2017-10-05 19:58 ` [PATCH 1/3] arm/xen: don't inclide rwlock.h directly.1~B Stefano Stabellini
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Andrzej Siewior @ 2017-10-05 12:56 UTC (permalink / raw)
  To: linux-arm-kernel

rwlock.h should not be included directly. Instead linux/splinlock.h
should be included. One thing it does is to break the RT build.

Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: xen-devel at lists.xenproject.org
Cc: linux-arm-kernel at lists.infradead.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 arch/arm/xen/p2m.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/xen/p2m.c b/arch/arm/xen/p2m.c
index e71eefa2e427..0641ba54ab62 100644
--- a/arch/arm/xen/p2m.c
+++ b/arch/arm/xen/p2m.c
@@ -1,7 +1,7 @@
 #include <linux/bootmem.h>
 #include <linux/gfp.h>
 #include <linux/export.h>
-#include <linux/rwlock.h>
+#include <linux/spinlock.h>
 #include <linux/slab.h>
 #include <linux/types.h>
 #include <linux/dma-mapping.h>
-- 
2.14.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/3] arm/xen: don't inclide rwlock.h directly.1~B
  2017-10-05 12:56 [PATCH 1/3] arm/xen: don't inclide rwlock.h directly Sebastian Andrzej Siewior
@ 2017-10-05 19:58 ` Stefano Stabellini
  2017-10-05 21:32   ` Sebastian Andrzej Siewior
  2017-10-26 22:56   ` [Xen-devel] " Boris Ostrovsky
  0 siblings, 2 replies; 4+ messages in thread
From: Stefano Stabellini @ 2017-10-05 19:58 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, 5 Oct 2017, Sebastian Andrzej Siewior wrote:
> rwlock.h should not be included directly. Instead linux/splinlock.h
> should be included. One thing it does is to break the RT build.
> 
> Cc: Stefano Stabellini <sstabellini@kernel.org>
> Cc: xen-devel at lists.xenproject.org
> Cc: linux-arm-kernel at lists.infradead.org
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>

Let me know if you want this patch to go via the xen tree.

> ---
>  arch/arm/xen/p2m.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/xen/p2m.c b/arch/arm/xen/p2m.c
> index e71eefa2e427..0641ba54ab62 100644
> --- a/arch/arm/xen/p2m.c
> +++ b/arch/arm/xen/p2m.c
> @@ -1,7 +1,7 @@
>  #include <linux/bootmem.h>
>  #include <linux/gfp.h>
>  #include <linux/export.h>
> -#include <linux/rwlock.h>
> +#include <linux/spinlock.h>
>  #include <linux/slab.h>
>  #include <linux/types.h>
>  #include <linux/dma-mapping.h>
> -- 
> 2.14.2
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/3] arm/xen: don't inclide rwlock.h directly.1~B
  2017-10-05 19:58 ` [PATCH 1/3] arm/xen: don't inclide rwlock.h directly.1~B Stefano Stabellini
@ 2017-10-05 21:32   ` Sebastian Andrzej Siewior
  2017-10-26 22:56   ` [Xen-devel] " Boris Ostrovsky
  1 sibling, 0 replies; 4+ messages in thread
From: Sebastian Andrzej Siewior @ 2017-10-05 21:32 UTC (permalink / raw)
  To: linux-arm-kernel

On 2017-10-05 12:58:32 [-0700], Stefano Stabellini wrote:
> Let me know if you want this patch to go via the xen tree.
Yes, please.

Sebastian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Xen-devel] [PATCH 1/3] arm/xen: don't inclide rwlock.h directly.1~B
  2017-10-05 19:58 ` [PATCH 1/3] arm/xen: don't inclide rwlock.h directly.1~B Stefano Stabellini
  2017-10-05 21:32   ` Sebastian Andrzej Siewior
@ 2017-10-26 22:56   ` Boris Ostrovsky
  1 sibling, 0 replies; 4+ messages in thread
From: Boris Ostrovsky @ 2017-10-26 22:56 UTC (permalink / raw)
  To: linux-arm-kernel

On 10/05/2017 03:58 PM, Stefano Stabellini wrote:
> On Thu, 5 Oct 2017, Sebastian Andrzej Siewior wrote:
>> rwlock.h should not be included directly. Instead linux/splinlock.h
>> should be included. One thing it does is to break the RT build.
>>
>> Cc: Stefano Stabellini <sstabellini@kernel.org>
>> Cc: xen-devel at lists.xenproject.org
>> Cc: linux-arm-kernel at lists.infradead.org
>> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>


Applied to for-linus-4.14c.

-boris

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-10-26 22:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-05 12:56 [PATCH 1/3] arm/xen: don't inclide rwlock.h directly Sebastian Andrzej Siewior
2017-10-05 19:58 ` [PATCH 1/3] arm/xen: don't inclide rwlock.h directly.1~B Stefano Stabellini
2017-10-05 21:32   ` Sebastian Andrzej Siewior
2017-10-26 22:56   ` [Xen-devel] " Boris Ostrovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).