diff options
author | Michal <m.eljasiewic@samsung.com> | 2013-08-09 08:43:14 +0200 |
---|---|---|
committer | Daniel Kowalski <d.kowalski@samsung.com> | 2013-10-23 11:37:34 +0200 |
commit | 333b8fe1a1341b4cc1d36abdc33b6c1c580ef154 (patch) | |
tree | 7a8298da0d84c2f16b32250fa810448802c894f0 | |
parent | db961392f3636c36c2c35ef88edb6a39cf3bc0ee (diff) | |
download | kdbus-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.c | 2 | ||||
-rw-r--r-- | compatibility.h | 2 |
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 |