X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=wrapper%2Fvmalloc.h;h=c7abfca9d453b35651d111aecc1c1f9dc029a628;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=b4d795404a2dfa454f9b1dae11a0f0d8963db6c9;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;p=lttng-modules.git diff --git a/wrapper/vmalloc.h b/wrapper/vmalloc.h index b4d79540..c7abfca9 100644 --- a/wrapper/vmalloc.h +++ b/wrapper/vmalloc.h @@ -25,7 +25,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include #include #include @@ -62,7 +62,7 @@ void wrapper_vmalloc_sync_all(void) } #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,12,0)) static inline void *lttng_kvmalloc_node(unsigned long size, gfp_t flags, int node) {