summaryrefslogtreecommitdiffstats
path: root/scripts/remove-stale-files
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-07-25 10:56:19 +0900
committerMichael Ellerman <mpe@ellerman.id.au>2022-07-27 21:36:03 +1000
commit9257971377e2fe6e82f41f688651a82a2f160a88 (patch)
tree89b0fa0cfd9267c318d09d7a0ffeae1eb477558f /scripts/remove-stale-files
parent118b1366930c8c833b8b36abef657f40d4e26610 (diff)
downloadlinux-9257971377e2fe6e82f41f688651a82a2f160a88.tar.gz
linux-9257971377e2fe6e82f41f688651a82a2f160a88.tar.bz2
linux-9257971377e2fe6e82f41f688651a82a2f160a88.zip
powerpc/purgatory: Omit use of bin2c
The .incbin assembler directive is much faster than bin2c + $(CC). Do similar refactoring as in commit 4c0f032d4963 ("s390/purgatory: Omit use of bin2c"). Please note the .quad directive matches to size_t in C (both 8 byte) because the purgatory is compiled only for the 64-bit kernel. (KEXEC_FILE depends on PPC64). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220725015619.618070-1-masahiroy@kernel.org
Diffstat (limited to 'scripts/remove-stale-files')
-rwxr-xr-xscripts/remove-stale-files2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/remove-stale-files b/scripts/remove-stale-files
index 7adab4618035..5a7543469698 100755
--- a/scripts/remove-stale-files
+++ b/scripts/remove-stale-files
@@ -20,6 +20,8 @@ set -e
# yard. Stale files stay in this file for a while (for some release cycles?),
# then will be really dead and removed from the code base entirely.
+rm -f arch/powerpc/purgatory/kexec-purgatory.c
+
# These were previously generated source files. When you are building the kernel
# with O=, make sure to remove the stale files in the output tree. Otherwise,
# the build system wrongly compiles the stale ones.