Skip to content
Commit 2613265c authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/kernel: Combine vec/loc for STD_EXCEPTION_PSERIES



The STD_EXCEPTION_PSERIES macro takes both a vector number, and a
location (memory address). However both are always identical, so combine
them to save repeating ourselves.

This does mean an exception handler must always exist at the location in
memory that matches its vector number. But that's OK because this is the
"STD" macro (standard), which does exactly that. We have other macros
for the other cases, eg. STD_EXCEPTION_PSERIES_OOL (out of line).

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent d8725ce8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment