summaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@austin.ibm.com>2008-07-25 20:27:06 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-30 07:26:53 +0200
commit9ee07f91a1fab61ff0d8d25be43351a049c0a821 (patch)
tree625807bcb9bb3f24e4dd50c272d43aa658635c54 /drivers/ide
parentipmi/powerpc: Use linux/of_{device,platform}.h instead of asm (diff)
downloadlinux-9ee07f91a1fab61ff0d8d25be43351a049c0a821.tar.xz
linux-9ee07f91a1fab61ff0d8d25be43351a049c0a821.zip
powerpc: Allow non-hcall return values for lparcfg writes
The code to handle writes to /proc/ppc64/lparcfg incorrectly assumes that the return code from the helper routines to update processor or memory entitlement return a hcall return value. It then assumes any non-hcall return value is bad and sets the return code for the write to be -EIO. The update_[mp]pp routines can return values other than a hcall return value. This patch removes the automatic setting of any return code that is not an hcall return value from these routines to -EIO. Signed-off-by: Nathan Fontenot <nfont@austin.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions