projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e8c584
)
kdb: Use ktime_get_ts()
author
Thomas Gleixner
<
[email protected]
>
Wed, 11 Jun 2014 23:59:16 +0000
(23:59 +0000)
committer
Thomas Gleixner
<
[email protected]
>
Thu, 12 Jun 2014 14:18:45 +0000
(16:18 +0200)
do_posix_clock_monotonic_gettime() is a leftover from the initial
posix timer implementation which maps to ktime_get_ts().
Signed-off-by: Thomas Gleixner <
[email protected]
>
Cc: John Stultz <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Jason Wessel <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Thomas Gleixner <
[email protected]
>
kernel/debug/kdb/kdb_main.c
patch
|
blob
|
history
diff --git
a/kernel/debug/kdb/kdb_main.c
b/kernel/debug/kdb/kdb_main.c
index 2f7c760305cac120195f43913abe811095ac258f..379650b984f8150bd7ead11fa57767261ce21758 100644
(file)
--- a/
kernel/debug/kdb/kdb_main.c
+++ b/
kernel/debug/kdb/kdb_main.c
@@
-2472,7
+2472,7
@@
static void kdb_gmtime(struct timespec *tv, struct kdb_tm *tm)
static void kdb_sysinfo(struct sysinfo *val)
{
struct timespec uptime;
-
do_posix_clock_monotonic_gettime
(&uptime);
+
ktime_get_ts
(&uptime);
memset(val, 0, sizeof(*val));
val->uptime = uptime.tv_sec;
val->loads[0] = avenrun[0];