commit | 2271db20e4b362405bacc0e4095df4177d38129e | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Fri Jan 12 13:28:49 2018 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jan 16 23:51:43 2018 +1100 |
tree | a9ea74f9abb5c432b747bd0ccf95fc6316693a7e | |
parent | 872e2ae4bdd4c244f7617ffc08c39462192460ee [diff] |
powerpc: Use the TRAP macro whenever comparing a trap number 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@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>