Re: [PATCH 2/2] x86: Change trap definitions to enumerated values
From: Thomas Gleixner
Date: Thu Apr 28 2011 - 20:39:03 EST
On Fri, 22 Apr 2011, Vaibhav Nagarnaik wrote:
> From: Aditya Kali <adityakali@xxxxxxxxxx>
>
> The traps are referred to by their numbers and it can be difficult to
> understand them while reading the code without context. This patch adds
> enumeration of the trap numbers and replaced the numbers to the correct
> enum for x86.
I really like that patch, but it should have been 1/2 as it has a
value independent of the trap trace stuff.
And if you had done that, then the trap trace patch could have used
those symbols instead of the numbers as well.
Now that's the 2/2 patch and leaves the (not so) shiny new trace
points with those weird numbers. :(
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/