[PATCH v5 15/24] posix-timers: Implement y2038 safe clock_getres64() callback

2015-06-12 Thread Baolin Wang
The clock_getres() callback in struct k_clock is not year 2038 safe on 32bit systems. To address this implement a new callback clock_getres64() which uses struct timespec64 along with a default implementation which is a wrapper for the existing clock_getres() callback. The default callback is

[PATCH v5 15/24] posix-timers: Implement y2038 safe clock_getres64() callback

2015-06-12 Thread Baolin Wang
The clock_getres() callback in struct k_clock is not year 2038 safe on 32bit systems. To address this implement a new callback clock_getres64() which uses struct timespec64 along with a default implementation which is a wrapper for the existing clock_getres() callback. The default callback is