I am using getnstimeofday
in console_unlock
function, which gets called very early during initialization. So early that even timekeeping will not be initialized so as to use getnstimeofday
.
Is there any way to identify the precise moment to start using getnstimeofday
. I mean, is there any global variable or any macro to check if timekeeping is initialized, so that I can start using getnstimeofday
.