mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-13 14:40:22 +00:00
Map Linux CLOCK_BOOTTIME to native CLOCK_UPTIME.
MFC after: 1 week
This commit is contained in:
parent
6e1d05bbd7
commit
25ada63736
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317324
@ -207,8 +207,10 @@ linux_to_native_clockid(clockid_t *n, clockid_t l)
|
||||
case LINUX_CLOCK_MONOTONIC_COARSE:
|
||||
*n = CLOCK_MONOTONIC_FAST;
|
||||
break;
|
||||
case LINUX_CLOCK_MONOTONIC_RAW:
|
||||
case LINUX_CLOCK_BOOTTIME:
|
||||
*n = CLOCK_UPTIME;
|
||||
break;
|
||||
case LINUX_CLOCK_MONOTONIC_RAW:
|
||||
case LINUX_CLOCK_REALTIME_ALARM:
|
||||
case LINUX_CLOCK_BOOTTIME_ALARM:
|
||||
case LINUX_CLOCK_SGI_CYCLE:
|
||||
|
Loading…
Reference in New Issue
Block a user