summaryrefslogtreecommitdiff
path: root/arch/nds32/mm/highmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/mm/highmem.c')
-rw-r--r--arch/nds32/mm/highmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/mm/highmem.c b/arch/nds32/mm/highmem.c
index 022779af6148..4c7c28e994ea 100644
--- a/arch/nds32/mm/highmem.c
+++ b/arch/nds32/mm/highmem.c
@@ -24,7 +24,7 @@ EXPORT_SYMBOL(kmap);
void kunmap(struct page *page)
{
- BUG_ON(in_interrupt());
+ might_sleep();
if (!PageHighMem(page))
return;
kunmap_high(page);