aboutsummaryrefslogtreecommitdiff
path: root/include/linux/pagemap.h
diff options
context:
space:
mode:
authorGravatar Ingo Molnar <mingo@kernel.org> 2017-08-10 12:02:26 +0200
committerGravatar Ingo Molnar <mingo@kernel.org> 2017-08-10 12:02:26 +0200
commit1ccb2f4e8e435a53bb378e8b092087f091754aa6 (patch)
treeba120509947138915e06ad39cca5f065bd99f42f /include/linux/pagemap.h
parentMerge tag 'perf-core-for-mingo-4.14-20170728' of git://git.kernel.org/pub/scm... (diff)
parentperf/core: Fix time on IOC_ENABLE (diff)
downloadlinux-1ccb2f4e8e435a53bb378e8b092087f091754aa6.tar.gz
linux-1ccb2f4e8e435a53bb378e8b092087f091754aa6.tar.bz2
linux-1ccb2f4e8e435a53bb378e8b092087f091754aa6.zip
Merge branch 'perf/urgent' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/pagemap.h')
-rw-r--r--include/linux/pagemap.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index baa9344dcd10..79b36f57c3ba 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -163,8 +163,6 @@ void release_pages(struct page **pages, int nr, bool cold);
*/
static inline int page_cache_get_speculative(struct page *page)
{
- VM_BUG_ON(in_interrupt());
-
#ifdef CONFIG_TINY_RCU
# ifdef CONFIG_PREEMPT_COUNT
VM_BUG_ON(!in_atomic() && !irqs_disabled());