Skip to content

Commit 0dcfbdd

Browse files
committed
kernel.h: Add wrapper for renamed from_timer function for rhel 8.9
kernel.h: Add wrapper for renamed from_timer function for rhel 8.9 see original issue #95
1 parent d1c842a commit 0dcfbdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/dahdi/kernel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
#include <linux/poll.h>
6060

61-
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0)
61+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 16, 0) || (defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9, 8)))
6262
#define from_timer timer_container_of
6363
#endif
6464

0 commit comments

Comments
 (0)