summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2009-03-11 02:14:26 +0100
committerH. Peter Anvin <hpa@zytor.com>2009-03-11 06:33:06 +0100
commit5490fa96735ce0e2af270c0868987d644b9a38ec (patch)
tree406846ce05eb1f815000327204cde48aaacfcd3f /drivers/base
parentx86, mce: fix build failure in arch/x86/kernel/cpu/mcheck/threshold.c (diff)
downloadlinux-5490fa96735ce0e2af270c0868987d644b9a38ec.tar.xz
linux-5490fa96735ce0e2af270c0868987d644b9a38ec.zip
x86, mce: use round_jiffies() instead round_jiffies_relative()
Impact: saving power _very_ little round_jiffies() round up absolute jiffies to full second. round_jiffies_relative() round up relative jiffies to full second. The "t->expires" is absolute jiffies. Then, round_jiffies() should be used instead round_jiffies_relative(). Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions