summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2010-12-30 01:28:56 +0000
committercperciva <cperciva@FreeBSD.org>2010-12-30 01:28:56 +0000
commitd34b4913e63be3c0b206a84bd66770349126026e (patch)
treeaf53349aea829dc588b013ab57a3abc4404f704b /sys/compat/linux/linux_ioctl.c
parent28ac9ef7428c98a4ea1492f2275367f44192e470 (diff)
downloadFreeBSD-src-d34b4913e63be3c0b206a84bd66770349126026e.zip
FreeBSD-src-d34b4913e63be3c0b206a84bd66770349126026e.tar.gz
Add xenpic_dynirq_disable_intr and set it as the .pic_disable_intr method
for xenpic_dynirq_template. This fixes a panic when a virtual disk is removed, since that results in an interrupt channel being disabled and NULL isn't very good function for disabling interrupts. We should probably have a xenpic_pirq_disable_intr as well; I'm not adding that here because (a) I'm not sure what uses pirqs so I don't have a test case, and (b) the xenpic_pirq_enable_intr code is significantly more complex than the xenpic_dynirq_enable_intr code, so I'm not sure what should go into a xenpic_pirq_disable_intr routine. PR: kern/153511 MFC after: 3 days
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud