Kernel: Only expose CLOCK_REALTIME_COARSE via the kernel time page

Non-COARSE clock sources may probably still require a syscall.
This commit is contained in:
Andreas Kling 2021-08-10 21:08:48 +02:00
commit aaead6f332
Notes: sideshowbarker 2024-07-18 07:09:14 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ namespace Kernel {
inline bool time_page_supports(clockid_t clock_id)
{
return clock_id == CLOCK_REALTIME;
return clock_id == CLOCK_REALTIME_COARSE;
}
struct TimePage {