aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2007-02-16 01:27:47 -0800
committerLinus Torvalds <[email protected]>2007-02-16 08:13:58 -0800
commitfd064b9b7770d5c7705bf9542950c7bd81c30f98 (patch)
tree8b14c81f983e49b5553fd6764139bffb1d4f1648 /include/linux/debugobjects.h
parent1cfd68496e53f7be09a3c1358d1d389004217541 (diff)
[PATCH] Extend next_timer_interrupt() to use a reference jiffie
For CONFIG_NO_HZ we need to calculate the next timer wheel event based on a given jiffie value. Extend the existing code to allow the extra 'now' argument. Provide a compability function for the existing implementations to call the function with now == jiffies. (This also solves the racyness of the original code vs. jiffies changing during the iteration.) No functional changes to existing users of this infrastructure. [ remove WARN_ON() that triggered on s390, by Carsten Otte <[email protected]> ] [ made new helper static, Adrian Bunk <[email protected]> ] Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: john stultz <[email protected]> Cc: Roman Zippel <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions