linux_dsm_epyc7002/tools/testing/selftests/powerpc/mm
Gustavo Romero b2fed34a62 selftests/powerpc: Adjust wild_bctr to build with old binutils
Currently the selftest wild_bctr can fail to build when an old gcc is
used, notably on gcc using a binutils version <= 2.27, because the
assembler does not support the integer suffix UL.

This patch adjusts the wild_bctr test so the REG_POISON value is still
treated as an unsigned long for the shifts on compilation but the UL
suffix is absent on the stringification, so the inline asm code
generated has no UL suffixes.

Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com>
[mpe: Wrap long line]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-11-15 23:05:17 +11:00
..
.gitignore selftests/powerpc: Add a test of wild bctr 2018-10-20 13:26:47 +11:00
hugetlb_vs_thp_test.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile selftests/powerpc: Add a test of wild bctr 2018-10-20 13:26:47 +11:00
prot_sao.c selftests/powerpc: Add a test for PROT_SAO 2016-07-14 20:26:25 +10:00
segv_errors.c selftests/powerpc: Add a test of SEGV error behaviour 2018-01-03 16:49:24 +11:00
subpage_prot.c selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable 2018-03-02 11:37:04 +11:00
wild_bctr.c selftests/powerpc: Adjust wild_bctr to build with old binutils 2018-11-15 23:05:17 +11:00