diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/isp/iommu/0006-omap-iommu-Don-t-try-BUG_ON-in_interrupt.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-omap-2.6.29/isp/iommu/0006-omap-iommu-Don-t-try-BUG_ON-in_interrupt.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/iommu/0006-omap-iommu-Don-t-try-BUG_ON-in_interrupt.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/iommu/0006-omap-iommu-Don-t-try-BUG_ON-in_interrupt.patch new file mode 100644 index 0000000000..54a7abfe85 --- /dev/null +++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/isp/iommu/0006-omap-iommu-Don-t-try-BUG_ON-in_interrupt.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From b03f695e25bbdaa95a2cc87e15ee8592e7ca128d Mon Sep 17 00:00:00 2001 | ||
2 | From: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> | ||
3 | Date: Tue, 10 Feb 2009 18:01:29 +0200 | ||
4 | Subject: [PATCH] omap iommu: Don't try BUG_ON(in_interrupt()) | ||
5 | |||
6 | Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com> | ||
7 | --- | ||
8 | arch/arm/plat-omap/iovmm.c | 2 -- | ||
9 | 1 files changed, 0 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/plat-omap/iovmm.c b/arch/arm/plat-omap/iovmm.c | ||
12 | index 6726d10..bdfbb09 100644 | ||
13 | --- a/arch/arm/plat-omap/iovmm.c | ||
14 | +++ b/arch/arm/plat-omap/iovmm.c | ||
15 | @@ -523,8 +523,6 @@ static struct sg_table *unmap_vm_area(struct iommu *obj, const u32 da, | ||
16 | struct sg_table *sgt = NULL; | ||
17 | struct iovm_struct *area; | ||
18 | |||
19 | - BUG_ON(in_interrupt()); | ||
20 | - | ||
21 | if (!IS_ALIGNED(da, PAGE_SIZE)) { | ||
22 | dev_err(obj->dev, "%s: alignment err(%08x)\n", __func__, da); | ||
23 | return NULL; | ||
24 | -- | ||
25 | 1.5.6.5 | ||
26 | |||