Skip to content

Commit 1d01b80

Browse files
authored
Added check for RHEL 9.6+ (#158)
* Added check for RHEL 9.6+ * Update minmax.h
1 parent 4d08cb4 commit 1d01b80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/minmax.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include_next <linux/minmax.h>
1212
#endif
1313

14-
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0)
14+
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 6, 0) && RHEL_RELEASE_CODE < 0x906
1515
static inline bool in_range64(u64 val, u64 start, u64 len)
1616
{
1717
return (val - start) < len;

0 commit comments

Comments
 (0)