summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-25 11:11:31 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-25 11:11:31 -0800
commitf6d13daaddeb6e63b15a93bf36a80173bafd29bf (patch)
treefbdd45b284d537865036e8e8d740d849be0bbfc3 /arch/x86
parentd4a63a83933bcd1ef4f3ff6e8637e187dea25632 (diff)
parent5e3c1afd4587e70c201bf7224b51f747c9a3dfa8 (diff)
downloadop-kernel-dev-f6d13daaddeb6e63b15a93bf36a80173bafd29bf.zip
op-kernel-dev-f6d13daaddeb6e63b15a93bf36a80173bafd29bf.tar.gz
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Ingo Molnar: "A couple of regression fixes mostly hitting virtualized setups, but also some bare metal systems" * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: sched/x86/tsc: Initialize multiplier to 0 sched/clock: Fixup early initialization sched/preempt/x86: Fix voluntary preempt for x86 Revert "sched: Fix sleep time double accounting in enqueue entity"
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/tsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c
index a3acbac..19e5adb 100644
--- a/arch/x86/kernel/tsc.c
+++ b/arch/x86/kernel/tsc.c
@@ -180,7 +180,7 @@ static void cyc2ns_write_end(int cpu, struct cyc2ns_data *data)
static void cyc2ns_data_init(struct cyc2ns_data *data)
{
- data->cyc2ns_mul = 1U << CYC2NS_SCALE_FACTOR;
+ data->cyc2ns_mul = 0;
data->cyc2ns_shift = CYC2NS_SCALE_FACTOR;
data->cyc2ns_offset = 0;
data->__count = 0;
OpenPOWER on IntegriCloud