commit | c1931e21816a031a5aff7084e7f10eb84e24d8cc | [log] [tgz] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Tue May 13 20:48:57 2014 +1000 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Jun 05 13:21:28 2014 +1000 |
tree | ba55bcf0b332652379d19e3b5b21e81d7275f9bf | |
parent | 2ac7b0166a9bc743893be3f38e7b1729ce975ab9 [diff] |
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 <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>