From 40217861863121373fde3675844ad0d803c83e6a Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 21 May 2021 17:47:34 +0200 Subject: [PATCH] staging: gasket: Fix inclusion of spinlock.h linux/rwlock.h is a no-no for direct inclusion. This remains unnoticed when building against mainline due to prior inclusion of the correct header, linux/spinlock.h, but breaks over the PREEMPT-RT kernel. Would have likely been caught earlier by maintainer reviews if the driver was developed upstream. Signed-off-by: Jan Kiszka Change-Id: Ibc98c9017895e8991633ea4fe23171b507537525 --- src/gasket_interrupt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gasket_interrupt.c b/src/gasket_interrupt.c index dee62e0..531d94e 100644 --- a/src/gasket_interrupt.c +++ b/src/gasket_interrupt.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #ifdef GASKET_KERNEL_TRACE_SUPPORT #define CREATE_TRACE_POINTS