From: Benjamin Herrenschmidt Date: Wed, 19 Jul 2017 04:49:38 +0000 (+1000) Subject: powerpc/mm: Cosmetic fix to page fault accounting X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=04aafdc6018feef590517b3900c19d911b8a456c;p=openwrt%2Fstaging%2Fblogic.git powerpc/mm: Cosmetic fix to page fault accounting No need to break those lines, they aren't that long Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Michael Ellerman --- diff --git a/arch/powerpc/mm/fault.c b/arch/powerpc/mm/fault.c index 5ccbf30d8aef..bd5d668b47ff 100644 --- a/arch/powerpc/mm/fault.c +++ b/arch/powerpc/mm/fault.c @@ -516,13 +516,11 @@ good_area: */ if (fault & VM_FAULT_MAJOR) { current->maj_flt++; - perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, - regs, address); + perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address); cmo_account_page_fault(); } else { current->min_flt++; - perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, - regs, address); + perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address); } return 0; }