aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 83c651f25188..7ff54242c5d7 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -308,7 +308,7 @@ struct page {
308 */ 308 */
309#define get_page_testone(p) atomic_inc_and_test(&(p)->_count) 309#define get_page_testone(p) atomic_inc_and_test(&(p)->_count)
310 310
311#define set_page_count(p,v) atomic_set(&(p)->_count, v - 1) 311#define set_page_count(p,v) atomic_set(&(p)->_count, (v) - 1)
312#define __put_page(p) atomic_dec(&(p)->_count) 312#define __put_page(p) atomic_dec(&(p)->_count)
313 313
314extern void FASTCALL(__page_cache_release(struct page *)); 314extern void FASTCALL(__page_cache_release(struct page *));