mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 01:46:41 +07:00
[PATCH] ppc: fix stupid thinko in oprofile fix
I did something stupid in my oprofile fix, here's the obvious fix: Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
f36462f078
commit
f4208b9a95
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user