diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2021-07-01 14:18:30 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-07-01 15:50:54 +0300 |
commit | 4ebbbaa4ce8524b853dd6febf0176a6efa3482d7 (patch) | |
tree | c4e8f76b585e09b698ff1468dc3c726f0b1f5680 /arch/powerpc/kernel/setup-common.c | |
parent | 91fc46eced0f70526d74468ac6c932c90a8585b3 (diff) | |
download | linux-4ebbbaa4ce8524b853dd6febf0176a6efa3482d7.tar.xz |
powerpc: Only build restart_table.c for 64s
Commit 9b69d48c7516 ("powerpc/64e: remove implicit soft-masking and
interrupt exit restart logic") limited the implicit soft masking and
restart logic to 64-bit Book3S only. However we are still building
restart_table.c for all 64-bit, ie. Book3E also.
There's no need to build it for 64e, and it also causes missing
prototype warnings for 64e builds, because the prototype is already
behind an #ifdef PPC_BOOK3S_64.
Fixes: 9b69d48c7516 ("powerpc/64e: remove implicit soft-masking and interrupt exit restart logic")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701125026.292224-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
0 files changed, 0 insertions, 0 deletions