From c1931e21816a031a5aff7084e7f10eb84e24d8cc Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Tue, 13 May 2014 20:48:57 +1000 Subject: [PATCH] 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-format-patch failed