Skip to content

Commit a6bd2fa

Browse files
committed
Fix FTBFS on Debian systems with kernel 6.8.0-rc8
Signed-off-by: Timothy Pearson <[email protected]>
1 parent db0ec5f commit a6bd2fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/dahdi/kernel.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -1562,11 +1562,13 @@ static inline void *PDE_DATA(const struct inode *inode)
15621562
#endif
15631563
#endif
15641564

1565-
#if defined(RHEL_RELEASE_CODE) && LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) && \
1565+
#if defined(RHEL_RELEASE_CODE) && defined(RHEL_RELEASE_VERSION)
1566+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,14,0) && \
15661567
RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9,1)
15671568
#define netif_napi_add netif_napi_add_weight
15681569
#define PDE_DATA(i) pde_data(i)
15691570
#endif
1571+
#endif
15701572

15711573
#ifndef TIMER_DATA_TYPE
15721574
#define TIMER_DATA_TYPE struct timer_list *

0 commit comments

Comments
 (0)