xref: /OK3568_Linux_fs/kernel/include/linux/timekeeping32.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun #ifndef _LINUX_TIMEKEEPING32_H
2*4882a593Smuzhiyun #define _LINUX_TIMEKEEPING32_H
3*4882a593Smuzhiyun /*
4*4882a593Smuzhiyun  * These interfaces are all based on the old timespec type
5*4882a593Smuzhiyun  * and should get replaced with the timespec64 based versions
6*4882a593Smuzhiyun  * over time so we can remove the file here.
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun 
get_seconds(void)9*4882a593Smuzhiyun static inline unsigned long get_seconds(void)
10*4882a593Smuzhiyun {
11*4882a593Smuzhiyun 	return ktime_get_real_seconds();
12*4882a593Smuzhiyun }
13*4882a593Smuzhiyun 
14*4882a593Smuzhiyun #endif
15