From: Heiko Carstens Date: Thu, 23 Jan 2014 10:18:36 +0000 (+0100) Subject: s390/uaccess: get rid of indirect function calls X-Git-Tag: v3.15-rc1~167^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f41c2b4567dbfb7ff93e5c552b869e2865bcd9d;p=pandora-kernel.git s390/uaccess: get rid of indirect function calls There are only two uaccess variants on s390 left: the version that is used if the mvcos instruction is available, and the page table walk variant. So there is no need for expensive indirect function calls. By default the mvcos variant will be called. If the mvcos instruction is not available it will call the page table walk variant. For minimal performance impact the "if (mvcos_is_available)" is implemented with a jump label, which will be a six byte nop on machines with mvcos. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed