diff options
author | Andrei Vagin <avagin@gmail.com> | 2019-11-12 02:26:56 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-01-14 12:20:50 +0100 |
commit | 41b3b8dffc1f84e581addfbc09bec0289db3315e (patch) | |
tree | 6aa497794d18ccf35458d3888d393847f8c97644 /kernel/sched | |
parent | posix-clocks: Rename .clock_get_timespec() callbacks accordingly (diff) | |
download | linux-41b3b8dffc1f84e581addfbc09bec0289db3315e.tar.xz linux-41b3b8dffc1f84e581addfbc09bec0289db3315e.zip |
alarmtimer: Rename gettime() callback to get_ktime()
The upcoming support for time namespaces requires to have access to:
- The time in a tasks time namespace for sys_clock_gettime()
- The time in the root name space for common_timer_get()
struct alarm_base needs to follow the same naming convention, so rename
.gettime() callback into get_ktime() as a preparation for introducing
get_timespec().
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Co-developed-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191112012724.250792-8-dima@arista.com
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions