diff options
| author | Prarit Bhargava <[email protected]> | 2008-11-12 18:35:00 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2008-11-12 18:57:35 +0000 |
| commit | 8652cb4b0d87accbe78725fd2a13be2787059649 (patch) | |
| tree | 201f712a14998d01aca56ae8ed0d683423f47bdd /net/unix/af_unix.c | |
| parent | x86 debug: mark early_printk.o as notrace (diff) | |
| download | kernel-8652cb4b0d87accbe78725fd2a13be2787059649.tar.gz kernel-8652cb4b0d87accbe78725fd2a13be2787059649.zip | |
x86: warn of incorrect cpu_khz on AMD systems
Impact: add debug check
If none of the perfctrs are free when calculating cpu_khz we default to
using ctr 3 (ie, we just choose 3). This may lead to an incorrect tsc
freq value which can cause the system to be unstable.
To aid in future debugging, WARN the user of a potential problem.
Signed-off-by: Prarit Bhargava <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
