Re: [PATCH v3] powerpc/traps: Enhance readability for trap types
From: Segher Boessenkool
Date: Sat Apr 10 2021 - 13:05:12 EST
On Sat, Apr 10, 2021 at 11:42:41AM +0200, Christophe Leroy wrote:
> Le 10/04/2021 à 02:04, Michael Ellerman a écrit :
> >I think these can all be avoided by defining most of the values
> >regardless of what platform we're building for. Only the values that
> >overlap need to be kept behind an ifdef.
>
> Even if values overlap we can keep multiple definitions for the same value.
That works, but it can lead to puzzling bugs. Of course we all *like*
working on more challenging bugs, but :-)
Segher