git: 9a37368d2beb - stable/13 - LinuxKPI: add ktime_get_real_ts64()

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 12:08:59 UTC
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=9a37368d2beb26a236e9f91fbd5caefc055d0ef6

commit 9a37368d2beb26a236e9f91fbd5caefc055d0ef6
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-05-23 23:10:32 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-06-26 09:20:38 +0000

    LinuxKPI: add ktime_get_real_ts64()
    
    Add a wrapper for ktime_get_real_ts64() used by a wireless driver.
    
    Reviewed by:    emaste
    Differential Revision: https://reviews.freebsd.org/D40246
    
    (cherry picked from commit b889315da3009256c5078e629a28763d981b70ad)
---
 sys/compat/linuxkpi/common/include/linux/ktime.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/ktime.h b/sys/compat/linuxkpi/common/include/linux/ktime.h
index e0722aa2589b..ebb82d7787c4 100644
--- a/sys/compat/linuxkpi/common/include/linux/ktime.h
+++ b/sys/compat/linuxkpi/common/include/linux/ktime.h
@@ -190,6 +190,7 @@ timespec64_to_ns(struct timespec64 *ts)
 #define	ktime_get_ts(ts)		getnanouptime(ts)
 #define	ktime_get_ts64(ts)		getnanouptime(ts)
 #define	ktime_get_raw_ts64(ts)		getnanouptime(ts)
+#define	ktime_get_real_ts64(ts)		getnanotime(ts)
 #define	getrawmonotonic64(ts)		getnanouptime(ts)
 
 static inline int64_t