x86, mm: pass in 'total' to __copy_from_user_*nocache()
authorIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 07:21:52 +0000 (08:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Feb 2009 09:20:03 +0000 (10:20 +0100)
Impact: cleanup, enable future change

Add a 'total bytes copied' parameter to __copy_from_user_*nocache(),
and update all the callsites.

The parameter is not used yet - architecture code can use it to
more intelligently decide whether the copy should be cached or
non-temporal.

Cc: Salman Qazi <sqazi@google.com>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found