mcctrl rhel8 compat: remove unneeded RHEL_RELEASE_CODE check
it was meant for 3.10 kernels, so the regular < 4.0.0 check will work for el7 and older kernels as well Change-Id: I807f030f6303c9c3d17b0d80de55c256a3479486
This commit is contained in:
committed by
Dominique Martinet
parent
1a5b10277f
commit
7a3f4d7501
@@ -72,7 +72,7 @@
|
|||||||
#define pr_ppd(msg, tid, ppd) do { } while(0)
|
#define pr_ppd(msg, tid, ppd) do { } while(0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(RHEL_RELEASE_CODE) || (LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0))
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,0,0)
|
||||||
#define BITMAP_SCNLISTPRINTF(buf, buflen, maskp, nmaskbits) \
|
#define BITMAP_SCNLISTPRINTF(buf, buflen, maskp, nmaskbits) \
|
||||||
bitmap_scnlistprintf(buf, buflen, maskp, nmaskbits)
|
bitmap_scnlistprintf(buf, buflen, maskp, nmaskbits)
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user