x86/entry: Add IRQENTRY_IRQ macro
authorThomas Gleixner <tglx@linutronix.de>
Thu, 21 May 2020 20:05:36 +0000 (22:05 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:12 +0000 (15:15 +0200)
commit0bf7c314ff68622468945a24ea2f7ebc1edf0a6b
tree4e3e262f8d7e2dc1b020c5574a72e0427f95ff70
parent7c2a57364cae0f2e070a27d728f1df6844ffff56
x86/entry: Add IRQENTRY_IRQ macro

Provide a seperate IDTENTRY macro for device interrupts. Similar to
IDTENTRY_ERRORCODE with the addition of invoking irq_enter/exit_rcu() and
providing the errorcode as a 'u8' argument to the C function, which
truncates the sign extended vector number.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Link: https://lore.kernel.org/r/20200521202118.984573165@linutronix.de
arch/x86/entry/entry_32.S
arch/x86/entry/entry_64.S
arch/x86/include/asm/idtentry.h