diff options
| author | Matthew Wilcox <willy@infradead.org> | 2018-10-26 15:04:33 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-26 16:25:20 -0700 |
| commit | 6d958546ff611c9ae09b181e628c1c5d5da5ebda (patch) | |
| tree | c687cae1ee84aa277079bc7ee924069f191123af /scripts | |
| parent | ae2b01f37044c10e975d22116755df56252b09d8 (diff) | |
| download | cachepc-linux-6d958546ff611c9ae09b181e628c1c5d5da5ebda.tar.gz cachepc-linux-6d958546ff611c9ae09b181e628c1c5d5da5ebda.zip | |
mm: inline vm_insert_pfn_prot() into caller
vm_insert_pfn_prot() is only called from vmf_insert_pfn_prot(), so inline
it and convert some of the errnos into vm_fault codes earlier.
Link: http://lkml.kernel.org/r/20180828145728.11873-9-willy@infradead.org
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: Souptick Joarder <jrdr.linux@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
