summaryrefslogtreecommitdiff
path: root/src/cpu/intel/haswell/finalize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/haswell/finalize.c')
-rw-r--r--src/cpu/intel/haswell/finalize.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/cpu/intel/haswell/finalize.c b/src/cpu/intel/haswell/finalize.c
index b75d145ffd..b838f3476d 100644
--- a/src/cpu/intel/haswell/finalize.c
+++ b/src/cpu/intel/haswell/finalize.c
@@ -22,25 +22,6 @@
* Document Number 504790
* Revision 1.6.0, June 2012 */
-#if 0
-static void msr_set_bit(unsigned int reg, unsigned int bit)
-{
- msr_t msr = rdmsr(reg);
-
- if (bit < 32) {
- if (msr.lo & (1 << bit))
- return;
- msr.lo |= 1 << bit;
- } else {
- if (msr.hi & (1 << (bit - 32)))
- return;
- msr.hi |= 1 << (bit - 32);
- }
-
- wrmsr(reg, msr);
-}
-#endif
-
void intel_cpu_haswell_finalize_smm(void)
{
#if 0