projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da0264
)
powerpc/mm: Cosmetic fix to page fault accounting
author
Benjamin Herrenschmidt
<
[email protected]
>
Wed, 19 Jul 2017 04:49:38 +0000
(14:49 +1000)
committer
Michael Ellerman
<
[email protected]
>
Thu, 3 Aug 2017 06:06:48 +0000
(16:06 +1000)
No need to break those lines, they aren't that long
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
Signed-off-by: Michael Ellerman <
[email protected]
>
arch/powerpc/mm/fault.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/mm/fault.c
b/arch/powerpc/mm/fault.c
index 5ccbf30d8aef9e721b13a0371caccffd28fd503a..bd5d668b47ff2f422773bfb80594e31d6b9243a4 100644
(file)
--- 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;
}