summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2012-10-26 11:21:16 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-13 15:21:40 +0000
commitb59f40e4597b92798b5d86f0ea6413903348c700 (patch)
tree4f2e02f2fcc1349940148d058fd3483e70c75576
parent2b6f7e338fd0d6aebcbe3b81cf31d02f32580319 (diff)
downloadpoky-b59f40e4597b92798b5d86f0ea6413903348c700.tar.gz
lttng-modules: remove unused lttng-syscalls patch
commit b7e184508 (lttng-2.0: fix srcrev/pv to match the recipe filenames) removed the lttng-sycalls-protect-is_compat_task-from-redefiniti.patch from the SRC_URI but forgot to remove the patch itself. (From OE-Core rev: 47df8cbb6eb757a439d3d9f44e2615faa74fd258) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/lttng-2.0/lttng-modules/lttng-sycalls-protect-is_compat_task-from-redefiniti.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-modules/lttng-sycalls-protect-is_compat_task-from-redefiniti.patch b/meta/recipes-kernel/lttng-2.0/lttng-modules/lttng-sycalls-protect-is_compat_task-from-redefiniti.patch
deleted file mode 100644
index 0056633806..0000000000
--- a/meta/recipes-kernel/lttng-2.0/lttng-modules/lttng-sycalls-protect-is_compat_task-from-redefiniti.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From 415a1a678cb2fcf603f9777f2c7b71c1e38f8101 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Mon, 19 Mar 2012 13:30:31 -0400
4Subject: [PATCH] lttng-sycalls: protect is_compat_task from redefinition
5
6recent -stable kernels have their own fallback definition of is_compat_task
7
8 #define is_compat_task() (0)
9
10To protect against this double definition of is_compat_task we can check
11to see if it is already defined, and skip the lttng variant.
12
13Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
14---
15 lttng-syscalls.c | 4 ++++
16 1 files changed, 4 insertions(+), 0 deletions(-)
17
18diff --git a/lttng-syscalls.c b/lttng-syscalls.c
19index 9de3c07..80d0f05 100644
20--- a/lttng-syscalls.c
21+++ b/lttng-syscalls.c
22@@ -17,12 +17,16 @@
23 #include "ltt-events.h"
24
25 #ifndef CONFIG_COMPAT
26+
27+#ifndef is_compat_task
28 static inline int is_compat_task(void)
29 {
30 return 0;
31 }
32 #endif
33
34+#endif
35+
36 static
37 void syscall_entry_probe(void *__data, struct pt_regs *regs, long id);
38
39--
401.7.5.4
41