]> err.no Git - linux-2.6/commit
[IA64] fix NULL pointer in ia64/irq_chip-mask/unmask function
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Wed, 7 Mar 2007 22:57:35 +0000 (14:57 -0800)
committerTony Luck <tony.luck@intel.com>
Wed, 7 Mar 2007 22:57:35 +0000 (14:57 -0800)
commite253eb0c082e71082cc980a0c81582c2bc734605
tree985f9a758aa1b429d0b057950728ed2572e892e2
parent08e15e81a40e3241ce93b4a43886f3abda184aa6
[IA64] fix NULL pointer in ia64/irq_chip-mask/unmask function

This patch fixes boot failure because irq_desc->mask() is NULL.

- Added mask/unmask functions to ia64's irq desc function table.
- rename hw_interrupt_type to irq_chip. hw_interrupt_type is old name.
- Tony: Added same change to arch/ia64/sn/kernel/irq.c as pointed out
  by Eric Biederman ... mask/unmask functions there can be no-op.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/iosapic.c
arch/ia64/sn/kernel/irq.c