From: Michael Neuling Date: Fri, 9 Aug 2013 07:29:30 +0000 (+1000) Subject: powerpc: Save the TAR register earlier X-Git-Tag: v3.11-rc5~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2d52644e2da8a07ecab5ca62dd0bc563089e8dc;p=pandora-kernel.git powerpc: Save the TAR register earlier This moves us to save the Target Address Register (TAR) a earlier in __switch_to. It introduces a new function save_tar() to do this. We need to save the TAR earlier as we will overwrite it in the transactional memory reclaim/recheckpoint path. We are going to do this in a subsequent patch which will fix saving the TAR register when it's modified inside a transaction. Signed-off-by: Michael Neuling Cc: [v3.10] Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed