]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
x86/irq: Improve definition of VECTOR_SHUTDOWN et al
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 19 Aug 2019 19:34:47 +0000 (21:34 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Aug 2019 21:19:06 +0000 (23:19 +0200)
commite30c44e2e59c98023997632815cbc5e273991c25
treeede55556bf3f076a0a93be0770a5cdf345ade2d2
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1
x86/irq: Improve definition of VECTOR_SHUTDOWN et al

These values are used with IS_ERR(), so it's more intuitive to define
them like a standard PTR_ERR() of a negative errno.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/146835e8-c086-4e85-7ece-bcba6795e6db@gmail.com
arch/x86/include/asm/hw_irq.h