[5/5] powerpc: Use the TRAP macro whenever comparing a trap number

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jan 18 00:30:33 AEDT 2018


On Fri, 2018-01-12 at 02:28:49 UTC, Benjamin Herrenschmidt wrote:
> Trap numbers can have extra bits at the bottom that need to
> be filtered out. There are a few cases where we don't do that.
> 
> It's possible that we got lucky but better safe than sorry.
> 
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/2271db20e4b362405bacc0e4095df4

cheers


More information about the Linuxppc-dev mailing list