[PATCH 1/3] powerpc: boot: include compiler_attributes.h

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Mon Nov 16 22:24:21 AEDT 2020


On Mon, Nov 16, 2020 at 5:35 AM Nick Desaulniers
<ndesaulniers at google.com> wrote:
>
> It was also noted in 6a9dc5fd6170 that we could -D__KERNEL__ and
> -include compiler_types.h like the main kernel does, though testing that
> produces a whole sea of warnings to cleanup. This approach is minimally
> invasive.

I would add a comment noting this as a reminder -- it also helps to
entice a cleanup.

Acked-by: Miguel Ojeda <ojeda at kernel.org>

Cheers,
Miguel


More information about the Linuxppc-dev mailing list