projects
/
platform
/
kernel
/
linux-arm64.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup non-arch xtime uses, use get_seconds() or current_kernel_time().
[platform/kernel/linux-arm64.git]
/
kernel
/
acct.c
diff --git
a/kernel/acct.c
b/kernel/acct.c
index
70d0d88
..
24f0f8b
100644
(file)
--- a/
kernel/acct.c
+++ b/
kernel/acct.c
@@
-468,7
+468,7
@@
static void do_acct_process(struct file *file)
}
#endif
do_div(elapsed, AHZ);
- ac.ac_btime =
xtime.tv_sec
- elapsed;
+ ac.ac_btime =
get_seconds()
- elapsed;
/* we really need to bite the bullet and change layout */
ac.ac_uid = current->uid;
ac.ac_gid = current->gid;