summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorHeiko Carstens2012-09-06 14:42:13 +0200
committerMartin Schwidefsky2012-09-26 15:45:12 +0200
commitcaf757c609445b01ad845df160369d8ccfd97d5b (patch)
treeea281a82383c15ed92ec64e88c4b1b55462d9c6e /arch/parisc
parents390/3270: drop unused spinlock from struct con3270 (diff)
downloadkernel-qcow2-linux-caf757c609445b01ad845df160369d8ccfd97d5b.tar.gz
kernel-qcow2-linux-caf757c609445b01ad845df160369d8ccfd97d5b.tar.xz
kernel-qcow2-linux-caf757c609445b01ad845df160369d8ccfd97d5b.zip
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>
Diffstat (limited to 'arch/parisc')
0 files changed, 0 insertions, 0 deletions