[PATCH v2] powerpc: Make setjmp/longjmp signature standard

2020-03-30 Thread Clement Courbet
), and we only call longjmp with integer parameters. This allows removing -ffreestanding from the compilation flags. Context: https://lore.kernel.org/patchwork/patch/1214060 https://lore.kernel.org/patchwork/patch/1216174 Signed-off-by: Clement Courbet Reviewed-by: Nathan Chancellor Tested-by

[PATCH v1] powerpc: Make setjmp/longjump signature standard

2020-03-29 Thread Clement Courbet
Thanks you all for the comments. Everything addressed, plus the array vs pointer suggestion from Segher Boessenkool on the other thread, which is only cosmetic and does not change anything wrt behaviour.