X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-lock.c;h=3d0a68d6e1311ec0ca0b9b4ce642912831620911;hb=c1fcde59b2c8506bd169da40328f7311d373daed;hp=b3ad230204e7f1f897ca62dfbda5cebb0ad3a85f;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/probes/lttng-probe-lock.c b/probes/lttng-probe-lock.c index b3ad2302..3d0a68d6 100644 --- a/probes/lttng-probe-lock.c +++ b/probes/lttng-probe-lock.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) * * probes/lttng-probe-lock.c * @@ -16,13 +16,8 @@ * Create the tracepoint static inlines from the kernel to validate that our * trace event macros match the kernel we run on. */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) #include -#else -#include -#endif - -#include +#include "lttng-tracepoint.h" /* * Create LTTng tracepoint probes.