Skip to content
Commit 655e52d2 authored by Prarit Bhargava's avatar Prarit Bhargava Committed by Thomas Gleixner
Browse files

x86/tsc: Use cpu id defines instead of hex constants



asm/intel-family.h contains defines for cpu ids which should be used
instead of hex constants. Convert the switch case in native_calibrate_tsc()
to use the defines before adding more cpu models.

[ tglx: Massaged changelog ]

Signed-off-by: default avatarPrarit Bhargava <prarit@redhat.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Rafael Aquini <aquini@redhat.com>
Cc: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Cc: Andy Lutomirski <luto@kernel.org>
Link: http://lkml.kernel.org/r/1474289501-31717-2-git-send-email-prarit@redhat.com


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f99fd22e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment