]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Only build restart_table.c for 64s
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 1 Jul 2021 11:18:30 +0000 (21:18 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 1 Jul 2021 12:50:54 +0000 (22:50 +1000)
commit1b5ca0f52dcf4718f0387e36bb77944ae956f20b
treec4e8f76b585e09b698ff1468dc3c726f0b1f5680
parent436dabd8e5228f029bd85c5aa3fa45f6850f0a12
powerpc: Only build restart_table.c for 64s

Commit 2162b231a457 ("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: 2162b231a457 ("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
arch/powerpc/lib/Makefile