From: Heiko Carstens Date: Thu, 6 Sep 2012 12:42:13 +0000 (+0200) Subject: s390/sysinfo,stsi: change return code handling X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~81^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caf757c609445b01ad845df160369d8ccfd97d5b;p=pandora-kernel.git 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed