[PATCH] selftests/sigaltstack: Fix ppc64 GCC build

Michael Ellerman patch-notifications at ellerman.id.au
Sun Jul 7 09:10:04 AEST 2024


On Mon, 20 May 2024 16:26:47 +1000, Michael Ellerman wrote:
> Building the sigaltstack test with GCC on 64-bit powerpc errors with:
> 
>   gcc -Wall     sas.c  -o /home/michael/linux/.build/kselftest/sigaltstack/sas
>   In file included from sas.c:23:
>   current_stack_pointer.h:22:2: error: #error "implement current_stack_pointer equivalent"
>      22 | #error "implement current_stack_pointer equivalent"
>         |  ^~~~~
>   sas.c: In function ‘my_usr1’:
>   sas.c:50:13: error: ‘sp’ undeclared (first use in this function); did you mean ‘p’?
>      50 |         if (sp < (unsigned long)sstack ||
>         |             ^~
> 
> [...]

Applied to powerpc/next.

[1/1] selftests/sigaltstack: Fix ppc64 GCC build
      https://git.kernel.org/powerpc/c/17c743b9da9e0d073ff19fd5313f521744514939

cheers


More information about the Linuxppc-dev mailing list