mm/gup: Remove the 'write' parameter from gup_fast_permitted()
authorIra Weiny <ira.weiny@intel.com>
Sun, 10 Feb 2019 22:34:24 +0000 (14:34 -0800)
committerIngo Molnar <mingo@kernel.org>
Mon, 11 Feb 2019 07:20:40 +0000 (08:20 +0100)
commitad8cfb9c42ef83ecf4079bc7d77e6557648e952b
tree23162cd4c371ff5f8f70773365b3764ae0bbe2ae
parentd13937116f1e82bf508a6325111b322c30c85eb9
mm/gup: Remove the 'write' parameter from gup_fast_permitted()

The 'write' parameter is unused in gup_fast_permitted() so remove it.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Dave Hansen <dave.hansen@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/20190210223424.13934-1-ira.weiny@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/pgtable_64.h
mm/gup.c