From b86fed351eda7055fddf3ea96583d716122027fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Beamonte?= Date: Mon, 27 May 2013 21:45:55 -0400 Subject: [PATCH] Remove a direct include of rwlock.h which fail on a kernel with the RT patches MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The file linux/rwlock.h should not be included directly as stated by an #error message at the 5th line of the file. With a RT patched kernel, linux/rwlock_rt.h should be included instead of linux/rwlock.h. The file linux/spinlock.h already do the proper check. We then should let the include be done by this file. Signed-off-by: Raphaël Beamonte Signed-off-by: Yannick Brosseau --- runtime/linux/uprobes-inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/runtime/linux/uprobes-inode.c b/runtime/linux/uprobes-inode.c index f16cd8ed6..5137f58e2 100644 --- a/runtime/linux/uprobes-inode.c +++ b/runtime/linux/uprobes-inode.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include -- 2.43.5