X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=wrapper%2Fuaccess.h;h=c562e349648599ec60314b1eec8b835ade0973b1;hb=7318a1e88c8097733f5a05529069e4e03c142cae;hp=c56427c5173ea7e3736de0a8ea2dc526141a9d91;hpb=0039dbe9891cfdf2c0d04691f83c2f342993dfd7;p=lttng-modules.git diff --git a/wrapper/uaccess.h b/wrapper/uaccess.h index c56427c5..c562e349 100644 --- a/wrapper/uaccess.h +++ b/wrapper/uaccess.h @@ -13,7 +13,8 @@ #include #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,0,0) || \ + LTTNG_RHEL_KERNEL_RANGE(4,18,0,147,0,0, 4,19,0,0,0,0)) #define VERIFY_READ 0 #define VERIFY_WRITE 1