Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb366fc7 authored by Junjie Wu's avatar Junjie Wu
Browse files

msm: cache_erp: Remove acpuclk_get_rate call



acpuclk_get_rate is deprecated, and will just return 0. Remove the call
since it's only for debugging printing.

Change-Id: I7137a2e395825d2756b09d851f18df07df59dad9
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent abc05143
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@
#include <mach/msm_iomap.h>
#include <mach/socinfo.h>
#include <asm/cputype.h>
#include "acpuclock.h"

#define CESR_DCTPE		BIT(0)
#define CESR_DCDPE		BIT(1)
@@ -293,7 +292,6 @@ static irqreturn_t msm_l1_erp_irq(int irq, void *dev_id)
	if (print_regs) {
		pr_alert("L1 / TLB Error detected on CPU %d!\n", cpu);
		pr_alert("\tCESR      = 0x%08x\n", cesr);
		pr_alert("\tCPU speed = %lu\n", acpuclk_get_rate(cpu));
		pr_alert("\tMIDR      = 0x%08x\n", read_cpuid_id());
		msm_erp_dump_regions();
	}