diff options
author | Nicholas Mc Guire <[email protected]> | 2015-05-28 19:09:56 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-06-10 11:31:14 +0200 |
commit | c569a23d65ac2900d9998d3fe04044fe95be6b2f (patch) | |
tree | ecc4e449ec0918189cc6b78855980636069417f7 /scripts/gdb/linux/tasks.py | |
parent | ae60d6a0e3a9197d37f8c8c4584a8ecd18518cd6 (diff) |
time: Allow gcc to fold usecs_to_jiffies(constant)
To allow constant folding in usecs_to_jiffies() conditionally calls
the HZ dependent _usecs_to_jiffies() helpers or, when gcc can not
figure out constant folding, __usecs_to_jiffies, which is the renamed
original usecs_to_jiffies() function.
Signed-off-by: Nicholas Mc Guire <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Andrew Hunter <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Michal Marek <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions