summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-10-10 23:01:57 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-10-10 23:02:38 +0200
commit665bf60178e71eef11356ed61b320f852094cc4d (patch)
tree6b2502946a0e3c444c173ccfa9e7d157ad1ddf3c /linux
parent0676aca040503c9a75c0c72a361cbc9fc315e667 (diff)
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.
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/drivers/block/genhd.c2
-rw-r--r--linux/dev/glue/block.c4
2 files changed, 3 insertions, 3 deletions
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)
{