linux/drivers/s390
Heiko Carstens caf757c609 s390/sysinfo,stsi: change return code handling
Change return code handling of the stsi() function:

In case function code 0 was specified the return value is the
current configuration level (already shifted). That way all
the code that actually copied the stsi_0() function can go
away.

Otherwise the return value is 0 (success) or negative to
indicate an error (currently only -EOPNOTSUPP).

Also stsi() is no longer an inline function. The function is
not performance critical, but every caller would generate an
exception table entry for this function.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-09-26 15:45:12 +02:00
..
block s390/scm: reorder scm_remove 2012-09-26 15:45:10 +02:00
char s390/3270: drop unused spinlock from struct con3270 2012-09-26 15:45:11 +02:00
cio s390/scm: remove superfluous lock 2012-09-26 15:45:09 +02:00
crypto s390/zcrypt: Add support for CEX4 crypto card 2012-09-26 15:44:56 +02:00
kvm KVM updates for the 3.6 merge window 2012-07-24 12:01:20 -07:00
net s390/sysinfo,stsi: change return code handling 2012-09-26 15:45:12 +02:00
scsi s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
Makefile