From: Gerald Schaefer Date: Mon, 4 Dec 2006 14:40:45 +0000 (+0100) Subject: [S390] Add dynamic size check for usercopy functions. X-Git-Tag: v2.6.20-rc1~34^2~40^2~15^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59f35d53fde3987d071ea1c9bf1c9ba29fcb69fe;p=pandora-kernel.git [S390] Add dynamic size check for usercopy functions. Use a wrapper for copy_to/from_user to chose the best usercopy method. The mvcos instruction is better for sizes greater than 256 bytes, if mvcos is not available a page table walk is better for sizes greater than 1024 bytes. Also removed the redundant copy_to/from_user_std_small functions. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed