]> code.ossystems Code Review - openembedded-core.git/commit
lttng-modules: fix compliation error with 3.2.x -stable kernels
authorBruce Ashfield <bruce.ashfield@windriver.com>
Mon, 19 Mar 2012 17:53:57 +0000 (13:53 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Mar 2012 20:19:25 +0000 (20:19 +0000)
commit53db58982b7af59d75fc11b73475e9d71e6927ac
tree26a86a8c41f1d6905ae19c17ff340eb994b3651d
parent3b0a69a99a3a56aa88d69c9288b17a38fa9956b8
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 <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng-2.0/lttng-modules/lttng-sycalls-protect-is_compat_task-from-redefiniti.patch [new file with mode: 0644]
meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb