diff options
author | cperciva <cperciva@FreeBSD.org> | 2010-12-30 01:28:56 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2010-12-30 01:28:56 +0000 |
commit | d34b4913e63be3c0b206a84bd66770349126026e (patch) | |
tree | af53349aea829dc588b013ab57a3abc4404f704b /sys/compat/linux/linux_ioctl.c | |
parent | 28ac9ef7428c98a4ea1492f2275367f44192e470 (diff) | |
download | FreeBSD-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