Unverified Commit e41b081b authored by Palmer Dabbelt's avatar Palmer Dabbelt Committed by Palmer Dabbelt
Browse files

asm-generic: Add a generic set_handle_irq



I've copied this from arm64, but it appears to be the same code that's
in arm and openrisc.  I wanted to use it for RISC-V's interrupt handler
as well, so despite this only being a handful of lines of code it seems
worth having a generic version -- if it existed when we created our
interrupt controller then maybe we would have just started with the
generic version.

This patch alone is just dead code, further patches actually use this
infrastructure.

Signed-off-by: default avatarPalmer Dabbelt <palmer@dabbelt.com>
parent 1291a0d5
Supports Markdown
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