Re: [PATCH 1/2] uapi/asm-generic: Allow defining a custom __SIGINFO struct

From: Arnd Bergmann
Date: Wed Jul 03 2019 - 04:31:31 EST


On Wed, Jul 3, 2019 at 2:21 AM Alistair Francis
<alistair.francis@xxxxxxx> wrote:
>
> Allow defining a custom __SIGINFO struct. This allows architectures to
> apply their own padding and allignment requirements to the struct. This
> is similar to the __ARCH_SI_ATTRIBUTES #define that already exists, but
> applies to the __SIGINFO struct instead of the siginfo_t struct.
>
> Signed-off-by: Alistair Francis <alistair.francis@xxxxxxx>

I don't think there should be another special case for rv32 here,
we already have too many exceptions for architectures that
were different for no good reason.

Please keep the same definition that everything else has.

Arnd