qcacmn: Get monotonic boottime from kernel in nano sec

qcacld-2.0 to qca-wifi-host-cmn propogation

Add support to get the boot time from kernel in nano seconds.

Change-Id: Iaa512248a5e56d77cff39da562e0c9ee4eaeeefd
CRs-Fixed: 1107219
这个提交包含在:
Arunk Khandavalli
2017-01-03 20:04:22 +05:30
提交者 qcabuildsw
父节点 9b18ff1e56
当前提交 cae132b6a9
修改 2 个文件,包含 18 行新增2 行删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2016 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -249,6 +249,13 @@ unsigned long qdf_mc_timer_get_system_ticks(void);
*/
unsigned long qdf_mc_timer_get_system_time(void);
/**
* qdf_get_monotonic_boottime_ns() - Get kernel boottime in ns
*
* Return: kernel boottime in nano sec
*/
s64 qdf_get_monotonic_boottime_ns(void);
/**
* qdf_timer_module_init() - initializes a QDF timer module.
*