Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 344a9d57 authored by Jebaitedneko's avatar Jebaitedneko Committed by Gagan Malvi
Browse files

char: srandom: use ktime_get_real_ts64 and timespec64



* these were introduced in v3.17-rc1, so let's use them

Signed-off-by: default avatarJebaitedneko <jebaitedneko@gmail.com>
parent a9fff5a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
    #define COPY_FROM_USER copy_from_user
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,8,0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)
    #define KTIME_GET_NS ktime_get_real_ts64
    #define TIMESPEC timespec64
#else