You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The recent commit to rework the hash MMU setup broke the build when
CONFIG_PPC_NATIVE=n. Fix it by adding an IS_ENABLED() check before
calling hpte_init_native().
Removing the else clause opens the possibility that we don't set any
ops, which would probably lead to a strange crash later. So add a check
that we correctly initialised at least one member of the struct.
Fixes: 166dd7d ("powerpc/64: Move MMU backend selection out of platform code")
Reported-by: Stephen Rothwell <[email protected]>
Acked-by: Stephen Rothwell <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
0 commit comments