From 53db58982b7af59d75fc11b73475e9d71e6927ac Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 19 Mar 2012 13:53:57 -0400 Subject: lttng-modules: fix compliation error with 3.2.x -stable kernels recent -stable kernels have their own fallback definition of is_compat_task #define is_compat_task() (0) To protect against this double definition of is_compat_task we can check to see if it is already defined, and skip the lttng variant. Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb') diff --git a/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb b/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb index fa7bbec8d..4c78f36ba 100644 --- a/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb +++ b/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb @@ -15,7 +15,8 @@ PV = "2.0.pre11+git${SRCREV}" PR = "r0" SRC_URI = "git://git.lttng.org/lttng-modules.git;protocol=git \ - file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch" + file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch \ + file://lttng-sycalls-protect-is_compat_task-from-redefiniti.patch" export INSTALL_MOD_DIR="kernel/lttng-modules" export KERNEL_SRC="${STAGING_KERNEL_DIR}" -- cgit v1.2.3