Skip to content
Snippets Groups Projects
Commit c2e7c3d0 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/compat: partial parameter conversion within syscall wrappers


Parameter conversion within the system call wrappers is only needed
for parameters which differ in size and have a size of eight bytes on
64 bit.
For system call parameters with a size of less than eight byte the
called system call itself will perform parameter conversion anyway.
So we can save the double conversion of e.g. int parameters.

The only types which need to be converted are therefore pointer and
(unsigned) long parameters.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent ab4f8bba
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment