There are some small cleanup for jiffies.c and alarmtimer.c.
Compile test only.
v3:
- add a WARN_ON_ONCE in patch 2.
v2:
- remove some guard() useages in patch 3.
- https://lore.kernel.org/all/20250427113529.1473800-1-suhui@nfschina.com/
v1:
- https://lore.kernel.org/all/20250424144819.24884-1-suhui@nfschina.com/
Su Hui (3):
time/jiffies: change register_refined_jiffies() to void __init
alarmtimer: remove dead return value in clock2alarm()
alarmtimer: switch some spin_{lock,unlock}_irqsave() to guard()
include/linux/jiffies.h | 2 +-
kernel/time/alarmtimer.c | 62 +++++++++++++++++-----------------------
kernel/time/jiffies.c | 5 +---
3 files changed, 28 insertions(+), 41 deletions(-)
--
2.30.2