|
@@ -489,7 +489,7 @@ static int pmu_ctr_find_hw(unsigned long cbase, unsigned long cmask, unsigned lo
|
|
|
unsigned long ctr_mask;
|
|
|
int i, ret = 0, fixed_ctr, ctr_idx = SBI_ENOTSUPP;
|
|
|
struct sbi_pmu_hw_event *temp;
|
|
|
- unsigned long mctr_inhbt;
|
|
|
+ unsigned long mctr_inhbt = 0;
|
|
|
u32 hartid = current_hartid();
|
|
|
struct sbi_scratch *scratch = sbi_scratch_thishart_ptr();
|
|
|
|