diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-17 05:20:47 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-17 05:20:54 -0400 |
commit | 79d39bd7cec19ea03356652d7add5e99b4da3a97 (patch) | |
tree | 0c2682a637aca3b17709b84d8b1ed866a4725b23 /include | |
parent | 2cea78f5cc47800e46f548cb723cc7fe11b5fba6 (diff) |
Update bcachefs sources to d82da7126f fixup! bcachefs: for_each_btree_key2()
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/jiffies.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h index c3f3e1f2..4fd3b68d 100644 --- a/include/linux/jiffies.h +++ b/include/linux/jiffies.h @@ -81,6 +81,11 @@ static inline u64 local_clock(void) return sched_clock(); } +static inline u64 ktime_get_ns(void) +{ + return sched_clock(); +} + #define jiffies nsecs_to_jiffies(sched_clock()) #endif |