|
@@ -115,17 +115,6 @@ int avail_to_resrv_perfctr_nmi_bit(unsigned int counter)
|
|
|
|
|
|
return !test_bit(counter, perfctr_nmi_owner);
|
|
|
}
|
|
|
-
|
|
|
-/* checks the an msr for availability */
|
|
|
-int avail_to_resrv_perfctr_nmi(unsigned int msr)
|
|
|
-{
|
|
|
- unsigned int counter;
|
|
|
-
|
|
|
- counter = nmi_perfctr_msr_to_bit(msr);
|
|
|
- BUG_ON(counter > NMI_MAX_COUNTER_BITS);
|
|
|
-
|
|
|
- return !test_bit(counter, perfctr_nmi_owner);
|
|
|
-}
|
|
|
EXPORT_SYMBOL(avail_to_resrv_perfctr_nmi_bit);
|
|
|
|
|
|
int reserve_perfctr_nmi(unsigned int msr)
|