Home
last modified time | relevance | path

Searched hist:d7840aaadd6e84915866a8f0dab586f6107dadf1 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/time/
H A Dtick-common.cdiff d7840aaadd6e84915866a8f0dab586f6107dadf1 Thu Mar 25 21:23:28 CDT 2021 Wang Wensheng <wangwensheng4@huawei.com> tick: Use tick_check_replacement() instead of open coding it

The function tick_check_replacement() is the combination of
tick_check_percpu() and tick_check_preferred(), but tick_check_new_device()
has the same logic open coded.

Use the helper to simplify the code.

[ tglx: Massage changelog ]

Signed-off-by: Wang Wensheng <wangwensheng4@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210326022328.3266-1-wangwensheng4@huawei.com