aboutsummaryrefslogtreecommitdiff
path: root/include/linux/jiffies.h
Commit message (Collapse)AuthorAgeFilesLines
* jiffies conversions: Use compile time constants when possibleJoe Perches2016-08-261-4/+132
| | | | | | | | | | | | | | | Do the multiplications and divisions at compile time instead of runtime when the converted value is a constant. Make the calculation functions static __always_inline to jiffies.h. Add #defines with __builtin_constant_p to test and use the static inline or the runtime functions as appropriate. Prefix the old exported symbols/functions with __ Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
* first commitMeizu OpenSource2016-08-151-0/+304