OpenCloudOS-Kernel/arch/cris/arch-v32/drivers
Dave Hansen d4edcf0d56 mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm
We will soon modify the vanilla get_user_pages() so it can no
longer be used on mm/tasks other than 'current/current->mm',
which is by far the most common way it is called.  For now,
we allow the old-style calls, but warn when they are used.
(implemented in previous patch)

This patch switches all callers of:

	get_user_pages()
	get_user_pages_unlocked()
	get_user_pages_locked()

to stop passing tsk/mm so they will no longer see the warnings.

Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Dave Hansen <dave@sr71.net>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: jack@suse.cz
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/20160212210156.113E9407@viggo.jf.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-02-16 10:11:12 +01:00
..
mach-a3 cris: nand: remove useless mtd->priv = chip assignments 2015-12-18 13:22:11 -08:00
mach-fs cris: nand: remove useless mtd->priv = chip assignments 2015-12-18 13:22:11 -08:00
pci cris: convert to dma_map_ops 2016-01-20 17:09:18 -08:00
Kconfig CRIS v32: remove old GPIO and LEDs code 2015-11-02 20:03:05 +01:00
Makefile CRIS v32: remove I2C bitbanging driver 2015-11-02 20:03:05 +01:00
axisflashmap.c cris: re-use helpers to dump data in hex format 2015-11-02 20:03:05 +01:00
cryptocop.c mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm 2016-02-16 10:11:12 +01:00
iop_fw_load.c chris: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:42 -08:00
sync_serial.c cris: Replace do_posix_clock_monotonic_gettime() 2015-07-09 10:51:46 +02:00