Subject: Re: [RFC PATCH 13/16] powerpc/booke: Provide exception macros with interrupt name

From: Benjamin Herrenschmidt <[email-masked]>
Date: Fri, 17 Feb 2012 19:50:23 +1100

On Tue, 2011-12-20 at 19:34 -0600, Scott Wood wrote:
> 
> There is an existing set of arbitrary numbers that Linux passes,
> but it's an undocumented mess that sort of corresponds to
> server/classic
> exception vectors but not really.
> 
> FIXME: Replace the existing trap numbering rather than add to it.

While this is a good idea, the problem is that we do have quite a few
things here or there that check regs->trap and act based on the trap
number, so we'd have to find them all and replace those comparison with
something symbolic.

Cheers,
Ben.