diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-02-06 10:38:06 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 19:41:10 +0100 |
commit | ec03d7073971e20a866448d62c992a168201ac82 (patch) | |
tree | 16b1954017d97ff8a40ca4ee78fd8f837c710a14 /drivers/char/tpm | |
parent | system timer: fix crash in <100Hz system timer (diff) | |
download | linux-ec03d7073971e20a866448d62c992a168201ac82.tar.xz linux-ec03d7073971e20a866448d62c992a168201ac82.zip |
speed up jiffies conversion functions if HZ==USER_HZ
Avoid calling do_div(x, 1) in this case.
Cc: David Fries <david@fries.net>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/tpm')
0 files changed, 0 insertions, 0 deletions