diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 0e38e13eb2498360b12a0662e994a0d7f9a7af31..e3dea75a078ba67b12408abd743633e3ea0a3995 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -149,7 +149,7 @@ static inline int page_cache_get_speculative(struct page *page) { VM_BUG_ON(in_interrupt()); -#if !defined(CONFIG_SMP) && defined(CONFIG_TREE_RCU) +#ifdef CONFIG_TINY_RCU # ifdef CONFIG_PREEMPT_COUNT VM_BUG_ON(!in_atomic()); # endif