mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
scst/include/backport.h: Fix UEK8 build
This patch fixes the build against UEK8 kernel version 6.12.0-200.74.27.2.el10uek.
This commit is contained in:
@@ -787,7 +787,9 @@ static inline long get_user_pages_backport(unsigned long start,
|
||||
#define time_is_before_jiffies64(a) time_after64(get_jiffies_64(), a)
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 13, 0) && \
|
||||
(!defined(UEK_KABI_RENAME) || \
|
||||
LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0))
|
||||
/*
|
||||
* See also commit b35108a51cf7 ("jiffies: Define secs_to_jiffies()") # v6.13.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user