diff options
author | Jiang Liu <[email protected]> | 2014-06-09 16:19:45 +0800 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2014-06-21 23:05:41 +0200 |
commit | 18e485518656205bbffce5e01f07830a6c3f557d (patch) | |
tree | dcbba2daaa381470b66c17839f808c4795c6b7cf /net/lapb/lapb_subr.c | |
parent | 79598505aee61bc943955de3653be054c2f7393f (diff) |
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 <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Cc: Bjorn Helgaas <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Yinghai Lu <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions