Re: [PATCH 12/16] asm-generic: siginfo: remove obsolete #ifdefs

From: Eric W. Biederman
Date: Thu Mar 15 2018 - 06:07:27 EST


Arnd Bergmann <arnd@xxxxxxxx> writes:

> The frv, tile and blackfin architectures are being removed, so
> we can clean up this header by removing all the special cases
> except those for ia64.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> include/uapi/asm-generic/siginfo.h | 36 ++----------------------------------
> 1 file changed, 2 insertions(+), 34 deletions(-)
>

If I am reading siginfo.h correctly after this cleanup patch
we can perform another cleanup and unconditionally define
all of the ia64 si_codes except for __SEGV_PSTKOVF which
aliases SEGV_PKUERR.

Which has the advantage that no one is tempted to define any further
aliased si_codes.

Eric