linux/arch/powerpc/lib
Christophe Leroy 699d53f048 powerpc/vdso32: Fix use of crtsavres for PPC64
crtsavres.S content is encloded by a #ifndef CONFIG_PPC64

To be used on VDSO32 on PPC64 it's content must available on PPC64 as
well.

Replace #ifndef CONFIG_PPC64 by #ifndef __powerpc64__ as __powerpc64__
is not set when building VDSO32 on PPC64.

Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Closes: https://lore.kernel.org/linuxppc-dev/047b7503-af0c-4bb0-b12a-2f6b1e461752@csgroup.eu/T/
Fixes: b163596a5b ("powerpc/vdso32: Add crtsavres")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/aded2b257018fe654db759fdfa4ab1a0b5426b1b.1726772140.git.christophe.leroy@csgroup.eu
2024-09-20 19:06:19 +10:00
..
checksum_32.S
checksum_64.S
checksum_wrappers.c
code-patching.c powerpc/code-patching: Add data patch alignment check 2024-08-21 20:15:12 +10:00
copy_32.S
copy_mc_64.S
copypage_64.S
copypage_power7.S powerpc/64s: Move dcbt/dcbtst sequence into a macro 2024-03-03 23:05:21 +11:00
copyuser_64.S
copyuser_power7.S powerpc/64s: Move dcbt/dcbtst sequence into a macro 2024-03-03 23:05:21 +11:00
crtsavres.S powerpc/vdso32: Fix use of crtsavres for PPC64 2024-09-20 19:06:19 +10:00
div64.S
error-inject.c
feature-fixups-test.S
feature-fixups.c powerpc: Add static_key_feature_checks_initialized flag 2024-04-15 12:53:39 +10:00
hweight_64.S
ldstfp.S
locks.c
Makefile powerpc/Makefile: Remove bits related to the previous use of -mcmodel=large 2024-05-07 23:48:45 +10:00
mem_64.S
memcmp_32.S
memcmp_64.S
memcpy_64.S
memcpy_power7.S powerpc/64s: Move dcbt/dcbtst sequence into a macro 2024-03-03 23:05:21 +11:00
pmem.c
qspinlock.c powerpc/qspinlock: Fix deadlock in MCS queue 2024-08-29 15:12:51 +10:00
quad.S
restart_table.c
rheap.c
sstep.c powerpc: Use user_mode() macro when possible 2024-02-22 21:55:33 +11:00
string_32.S
string_64.S
string.S
strlen_32.S
test_emulate_step_exec_instr.S
test_emulate_step.c
test-code-patching.c powerpc/code-patching: Add boot selftest for data patching 2024-08-21 20:15:13 +10:00
vmx-helper.c
xor_vmx_glue.c
xor_vmx.c
xor_vmx.h