Skip to content
Commit a28e46f1 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 9e8066f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment