diff options
| author | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 20:32:02 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-03 20:32:02 +1000 |
| commit | f1079d3a3d1f468f8faa3f506c163d44fac01912 (patch) | |
| tree | 51932f197a50dde3d8623752cca73cdd82a4553e /arch/powerpc/kernel/dt_cpu_ftrs.c | |
| parent | b5240b14396dd9c781b5c759830560cdcf1b7a10 (diff) | |
| parent | faf37c44a105f3608115785f17cbbf3500f8bc71 (diff) | |
Merge branch 'fixes' into next
We ended up with an ugly conflict between fixes and next in ftrace.h
involving multiple nested ifdefs, and the automatic resolution is
wrong. So merge fixes into next so we can fix it up.
Diffstat (limited to 'arch/powerpc/kernel/dt_cpu_ftrs.c')
| -rw-r--r-- | arch/powerpc/kernel/dt_cpu_ftrs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/dt_cpu_ftrs.c b/arch/powerpc/kernel/dt_cpu_ftrs.c index 8ab51f6ca03a..c904477abaf3 100644 --- a/arch/powerpc/kernel/dt_cpu_ftrs.c +++ b/arch/powerpc/kernel/dt_cpu_ftrs.c @@ -101,6 +101,7 @@ static void __restore_cpu_cpufeatures(void) if (hv_mode) { mtspr(SPRN_LPID, 0); mtspr(SPRN_HFSCR, system_registers.hfscr); + mtspr(SPRN_PCR, 0); } mtspr(SPRN_FSCR, system_registers.fscr); |
