From: Anton Blanchard Date: Tue, 13 May 2014 10:48:57 +0000 (+1000) Subject: powerpc/pseries: hcall functions are exported to modules, need _GLOBAL_TOC() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1931e21816a031a5aff7084e7f10eb84e24d8cc;p=pandora-kernel.git powerpc/pseries: hcall functions are exported to modules, need _GLOBAL_TOC() The hcall macros may call out to c code for tracing, so we need to set up a valid r2. This fixes an oops found when testing ibmvscsi as a module. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed