mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 21:31:51 +00:00
alarmtimers: Remove period from alarm structure
Now that periodic alarmtimers are managed by the handler function, remove the period value from the alarm structure and let the handlers manage the interval on their own. CC: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
This commit is contained in:
parent
d77e23acce
commit
9e26476243
3 changed files with 19 additions and 19 deletions
|
@ -81,7 +81,10 @@ struct k_itimer {
|
|||
unsigned long incr;
|
||||
unsigned long expires;
|
||||
} mmtimer;
|
||||
struct alarm alarmtimer;
|
||||
struct {
|
||||
struct alarm alarmtimer;
|
||||
ktime_t interval;
|
||||
} alarm;
|
||||
struct rcu_head rcu;
|
||||
} it;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue