diff options
author | 2016-03-17 14:19:55 -0700 | |
---|---|---|
committer | 2016-03-17 15:09:34 -0700 | |
commit | 0e8fb9312fbaf1a687dd731b04d8ab3121c4ff5a (patch) | |
tree | 02225140098a0824f2c340268a117c73a2003b4b /arch/xtensa/mm/fault.c | |
parent | mm: percpu: use pr_fmt to prefix output (diff) | |
download | linux-0e8fb9312fbaf1a687dd731b04d8ab3121c4ff5a.tar.gz linux-0e8fb9312fbaf1a687dd731b04d8ab3121c4ff5a.tar.bz2 linux-0e8fb9312fbaf1a687dd731b04d8ab3121c4ff5a.zip |
mm: remove VM_FAULT_MINOR
The define has a comment from Nick Piggin from 2007:
/* For backwards compat. Remove me quickly. */
I guess 9 years should not be too hurried sense of 'quickly' even for
kernel measures.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/xtensa/mm/fault.c')
-rw-r--r-- | arch/xtensa/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/mm/fault.c b/arch/xtensa/mm/fault.c index c9784c1b18d8..7f4a1fdb1502 100644 --- a/arch/xtensa/mm/fault.c +++ b/arch/xtensa/mm/fault.c @@ -146,7 +146,7 @@ good_area: perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); if (flags & VM_FAULT_MAJOR) perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address); - else if (flags & VM_FAULT_MINOR) + else perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MIN, 1, regs, address); return; |