From: Anton Blanchard Date: Sun, 2 Nov 2014 21:34:01 +0000 (+1100) Subject: powerpc/pseries: Quieten relocation on exceptions warning X-Git-Tag: omap-for-v3.19/fixes-rc1~123^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f1aae6cb0120fa54c0fe81614f6983df3b420a;p=pandora-kernel.git powerpc/pseries: Quieten relocation on exceptions warning The H_SET_MODE hcall returns H_P2 if a function is not implemented and all callers should handle this case. The call to enable relocation on exceptions currently prints an error message if the feature is not implemented. While H_SET_MODE was first introduced on POWER8 (which has relocation on exceptions), it has been now added on some POWER7 configurations (which does not). Check for H_P2 and print an informational message instead. Signed-off-by: Anton Blanchard Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed