commit | 060700b571717c997a2ea5e2049b848fa248ee13 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Sun Aug 24 11:52:06 2008 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Sun Aug 24 17:16:28 2008 -0700 |
tree | 46bdd7a9eb5cbb95458fc9839270d2e503fa6c4c | |
parent | 8735728ef8dc935c4fb351f913758fdbb62c308d [diff] |
x86: do not enable TSC notifier if we don't need it Impact: crash on non-TSC-equipped CPUs Don't enable the TSC notifier if we *either*: 1. don't have a CPU, or 2. have a CPU with constant TSC. In either of those cases, the notifier is either damaging (1) or useless(2). From: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com>