[PATCH 5.10 64/67] powerpc/pseries: Fix regression while building external modules