diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-07-26 15:29:18 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-08-01 04:14:56 +0300 |
commit | a28e46f109c9637b2539b9995078d5df4f7f6c09 (patch) | |
tree | 954cdde1913d243e517596aab5718dfa65fcd800 /arch/powerpc/include/asm/mmu.h | |
parent | 9e8066f398396d26010d9c6c3c2538ff25461ef8 (diff) | |
download | linux-a28e46f109c9637b2539b9995078d5df4f7f6c09.tar.xz |
powerpc/kernel: Check features don't change after patching
Early in boot we binary patch some sections of code based on the CPU and
MMU feature bits. But it is a one-time patching, there is no facility
for repatching the code later if the set of features change.
It is a major bug if the set of features changes after we've done the
code patching - so add a check for it.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/mmu.h')
0 files changed, 0 insertions, 0 deletions