From 2ac7b0166a9bc743893be3f38e7b1729ce975ab9 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Thu, 5 Jun 2014 08:04:39 +1000 Subject: [PATCH] powerpc: Exported functions __clear_user and copy_page use r2 so need _GLOBAL_TOC() __clear_user and copy_page load from the TOC and are also exported to modules. This means we have to use _GLOBAL_TOC() so that we create the global entry point that sets up the TOC. Signed-off-by: Anton Blanchard Signed-off-by: Benjamin Herrenschmidt --- Reading git-format-patch failed