Re: [PATCH 31/33] powerpc/64: make buildable without CONFIG_COMPAT

2019-11-13 Thread Arnd Bergmann
On Wed, Nov 13, 2019 at 9:41 AM Michal Suchánek wrote: > > On Wed, Nov 13, 2019 at 01:02:34PM +1000, Nicholas Piggin wrote: > > > > > > @@ -277,7 +276,7 @@ static void do_signal(struct task_struct *tsk) > > > > > > rseq_signal_deliver(, tsk->thread.regs); > > > > > > - if (is32) { > > > +

Re: [PATCH 31/33] powerpc/64: make buildable without CONFIG_COMPAT

2019-11-13 Thread Michal Suchánek
On Wed, Nov 13, 2019 at 01:02:34PM +1000, Nicholas Piggin wrote: > Michal Suchanek's on November 13, 2019 2:52 am: > > There are numerous references to 32bit functions in generic and 64bit > > code so ifdef them out. > > > > Signed-off-by: Michal Suchanek > > For the most part these seem okay

Re: [PATCH 31/33] powerpc/64: make buildable without CONFIG_COMPAT

2019-11-12 Thread Nicholas Piggin
Michal Suchanek's on November 13, 2019 2:52 am: > There are numerous references to 32bit functions in generic and 64bit > code so ifdef them out. > > Signed-off-by: Michal Suchanek For the most part these seem okay to me. > diff --git a/arch/powerpc/kernel/Makefile

[PATCH 31/33] powerpc/64: make buildable without CONFIG_COMPAT

2019-11-12 Thread Michal Suchanek
There are numerous references to 32bit functions in generic and 64bit code so ifdef them out. Signed-off-by: Michal Suchanek --- v2: - fix 32bit ifdef condition in signal.c - simplify the compat ifdef condition in vdso.c - 64bit is redundant - simplify the compat ifdef condition in callchain.c -