From 665bf60178e71eef11356ed61b320f852094cc4d Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 10 Oct 2011 23:01:57 +0200 Subject: Raise block device interrupt level to SPL6 * linux/dev/drivers/block/genhd.c (device_setup): Set linux_intr_pri to SPL6. * linux/dev/glue/block.c (init_partition, device_open): Likewise. --- linux/dev/drivers/block/genhd.c | 2 +- linux/dev/glue/block.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'linux') diff --git a/linux/dev/drivers/block/genhd.c b/linux/dev/drivers/block/genhd.c index 84b3792..95b499b 100644 --- a/linux/dev/drivers/block/genhd.c +++ b/linux/dev/drivers/block/genhd.c @@ -771,7 +771,7 @@ void device_setup(void) struct gendisk *p; int nr=0; #ifdef MACH - linux_intr_pri = SPL5; + linux_intr_pri = SPL6; #endif #ifndef MACH diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c index dfd2ee9..0c76d3d 100644 --- a/linux/dev/glue/block.c +++ b/linux/dev/glue/block.c @@ -935,7 +935,7 @@ init_partition (struct name_map *np, kdev_t *dev, if (gd->part[MINOR (d->inode.i_rdev)].nr_sects <= 0 || gd->part[MINOR (d->inode.i_rdev)].start_sect < 0) continue; - linux_intr_pri = SPL5; + linux_intr_pri = SPL6; d->file.f_flags = 0; d->file.f_mode = O_RDONLY; if (ds->fops->open && (*ds->fops->open) (&d->inode, &d->file)) @@ -1081,7 +1081,7 @@ device_open (ipc_port_t reply_port, mach_msg_type_name_t reply_port_type, if (ds->fops->open) { td.inode.i_rdev = dev; - linux_intr_pri = SPL5; + linux_intr_pri = SPL6; err = (*ds->fops->open) (&td.inode, &td.file); if (err) { -- cgit v1.2.3