diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-07-25 03:56:19 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-07-27 13:36:03 +0200 |
commit | 9257971377e2fe6e82f41f688651a82a2f160a88 (patch) | |
tree | 89b0fa0cfd9267c318d09d7a0ffeae1eb477558f /scripts/remove-stale-files | |
parent | powerpc/pseries/mobility: set NMI watchdog factor during an LPM (diff) | |
download | linux-9257971377e2fe6e82f41f688651a82a2f160a88.tar.xz 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-x | scripts/remove-stale-files | 2 |
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. |