summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal <m.eljasiewic@samsung.com>2013-08-09 08:43:14 +0200
committerDaniel Kowalski <d.kowalski@samsung.com>2013-10-23 11:37:34 +0200
commit333b8fe1a1341b4cc1d36abdc33b6c1c580ef154 (patch)
tree7a8298da0d84c2f16b32250fa810448802c894f0
parentdb961392f3636c36c2c35ef88edb6a39cf3bc0ee (diff)
downloadkdbus-bus-333b8fe1a1341b4cc1d36abdc33b6c1c580ef154.tar.gz
kdbus-bus-333b8fe1a1341b4cc1d36abdc33b6c1c580ef154.tar.bz2
kdbus-bus-333b8fe1a1341b4cc1d36abdc33b6c1c580ef154.zip
Compatibility: small fix for 3.10.x kernels
Change-Id: I3579655775df8d5e4d62b859fe762fd04babd79a
-rw-r--r--compatibility.c2
-rw-r--r--compatibility.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/compatibility.c b/compatibility.c
index 85cc2a6fb8e..210cef486d1 100644
--- a/compatibility.c
+++ b/compatibility.c
@@ -24,7 +24,7 @@
/*
* message.c patch
*/
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(3,10,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
/*
* COMPATIBILITY FUNCTION - removed from kernel 3.11
*
diff --git a/compatibility.h b/compatibility.h
index 3bfde511a12..a90c8bcee72 100644
--- a/compatibility.h
+++ b/compatibility.h
@@ -7,7 +7,7 @@
#include <linux/version.h>
// message.c patch
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(3,10,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
int task_cgroup_path_from_hierarchy(struct task_struct *task, int hierarchy_id,
char *buf, size_t buflen);
#endif