From: Nathan Fontenot Date: Fri, 25 Jul 2008 18:27:06 +0000 (+1000) Subject: powerpc: Allow non-hcall return values for lparcfg writes X-Git-Tag: v2.6.27-rc2~117^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ee07f91a1fab61ff0d8d25be43351a049c0a821;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed