x86, tsc: Fix a preemption leak in restore_sched_clock_state()
commit5ee5e97ee9bca919af11c562beeaf61741ad33f1
authorPeter Zijlstra <peterz@infradead.org>
Fri, 10 Sep 2010 20:32:53 +0000 (10 22:32 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 11 Sep 2010 01:17:45 +0000 (10 18:17 -0700)
tree1456b2d8a8adcebe63dba1dd9f0c849d0349b5fb
parent9aea5a65aa7a1af9a4236dfaeb0088f1624f9919
x86, tsc: Fix a preemption leak in restore_sched_clock_state()

A real life genuine preemption leak..

Reported-and-tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/tsc.c