diff options
author | Ian Munsie <imunsie@au1.ibm.com> | 2012-11-08 16:40:28 +1100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-11-15 15:08:08 +1100 |
commit | cedddd812a79a4fda3885a15711aee3de78c4a24 (patch) | |
tree | 7a9a3dbf97109a6259b655eed87794410c007d86 /arch/x86/oprofile/nmi_int.c | |
parent | fc8effa4e46fb7bd8a3c5e293efc56b74a54b7a5 (diff) |
powerpc: Disable relocation on exceptions when kexecing
Since we don't know if they new kernel we are kexecing into has been
built to support relocation on exceptions, we disable them before we
kexec.
We do NOT disable them if we are execing a kdump kernel, because we
want to change as little state as possible and it is likely that we are
execing ourselves and will be able to handle them anyway.
Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/x86/oprofile/nmi_int.c')
0 files changed, 0 insertions, 0 deletions