From 1bae63f009018b3296477aa81f0669696d8d5b4d Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 17 May 2014 00:03:16 +0000 Subject: [PATCH] mm-fold-mlocked_vma_newpage-into-its-only-call-site-checkpatch-fixes WARNING: line over 80 characters #90: FILE: mm/rmap.c:1040: + * pte lock is held(spinlock), which implies preemption disabled. total: 0 errors, 1 warnings, 69 lines checked ./patches/mm-use-a-light-weight-__mod_zone_page_state-in-mlocked_vma_newpage.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. Please run checkpatch prior to sending patches Cc: Jianyu Zhan Signed-off-by: Andrew Morton --- mm/rmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/rmap.c b/mm/rmap.c index c88a087916debc..3333baab6ecedf 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -1036,9 +1036,9 @@ void page_add_new_anon_rmap(struct page *page, if (!TestSetPageMlocked(page)) { /* - * We use the irq-unsafe __mod_zone_page_stat because - * this counter is not modified from interrupt context, and the - * pte lock is held(spinlock), which implies preemption disabled. + * We use the irq-unsafe __mod_zone_page_stat because this + * counter is not modified from interrupt context, and the pte + * lock is held(spinlock), which implies preemption disabled. */ __mod_zone_page_state(page_zone(page), NR_MLOCK, hpage_nr_pages(page));