diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-06-09 08:19:45 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-06-21 21:05:41 (GMT) |
commit | 18e485518656205bbffce5e01f07830a6c3f557d (patch) | |
tree | dcbba2daaa381470b66c17839f808c4795c6b7cf /arch/x86/Kconfig | |
parent | 79598505aee61bc943955de3653be054c2f7393f (diff) | |
download | linux-18e485518656205bbffce5e01f07830a6c3f557d.tar.xz |
x86, irq: Introduce some helper utilities to improve readability
It also fixes an off by one bug in
if ((ioapic_idx > 0) && (irq > NR_IRQS_LEGACY))
It should be
if ((ioapic_idx > 0) && (irq >= NR_IRQS_LEGACY))
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1402302011-23642-17-git-send-email-jiang.liu@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions