From: Heiko Carstens Date: Thu, 27 Feb 2014 08:52:01 +0000 (+0100) Subject: s390/compat: convert system call wrappers to C part 01 X-Git-Tag: v3.15-rc1~168^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b07edab23c7f93db0e7ab09bd7f5eddc421f6e8c;p=pandora-kernel.git s390/compat: convert system call wrappers to C part 01 Introduce a new compat_wrap.c file which contains the s390 specific compat system call wrappers. The s390 specific system call wrappers only perform sign, zero and pointer conversion of system call arguments before actually calling the non-compat system call. Therefore introduce COMPAT_SYSCALL_WRAPx macros which generate C code that is nearly identical to the assembly code. This has the advantage that the compile will generate correct code, and we avoid the frequent copy-paste errors seen in the compat_wrapper.S file. Signed-off-by: Heiko Carstens --- Reading git-diff-tree failed