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

Commit f4208b9a authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt Committed by Linus Torvalds
Browse files

[PATCH] ppc: fix stupid thinko in oprofile fix



I did something stupid in my oprofile fix, here's the obvious fix:

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f36462f0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -45,9 +45,8 @@ static void dummy_perf(struct pt_regs *regs)
	mtpmr(PMRN_PMGC0, pmgc0);
}

#elif CONFIG_6xx
#elif defined(CONFIG_6xx)
/* Ensure exceptions are disabled */

static void dummy_perf(struct pt_regs *regs)
{
	unsigned int mmcr0 = mfspr(SPRN_MMCR0);