aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/atm_zatm.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-09-30 13:26:36 +0200
committerDavid S. Miller <davem@davemloft.net>2015-10-05 03:16:45 -0700
commit84b00607aeb8f139a11c93036e1c0ee03dde5634 (patch)
tree4ae140cdf9cbc9026e9cd2987dea1bf29c3c57be /include/uapi/linux/atm_zatm.h
parentmwifiex: avoid gettimeofday in ba_threshold setting (diff)
downloadlinux-dev-84b00607aeb8f139a11c93036e1c0ee03dde5634.tar.xz
linux-dev-84b00607aeb8f139a11c93036e1c0ee03dde5634.zip
mac80211: use ktime_get_seconds
The mac80211 code uses ktime_get_ts to measure the connected time. As this uses monotonic time, it is y2038 safe on 32-bit systems, but we still want to deprecate the use of 'timespec' because most other users are broken. This changes the code to use ktime_get_seconds() instead, which avoids the timespec structure and is slightly more efficient. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Johannes Berg <johannes@sipsolutions.net> Cc: linux-wireless@vger.kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/atm_zatm.h')
0 files changed, 0 insertions, 0 deletions