From: Ashish Kalra Date: Fri, 22 Apr 2011 21:48:27 +0000 (-0500) Subject: powerpc/85xx: Save scratch registers to thread info instead of using SPRGs. X-Git-Tag: v3.1-rc1~236^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1325a684b553d4b5c41ae0482f8991b43f945746;p=pandora-kernel.git powerpc/85xx: Save scratch registers to thread info instead of using SPRGs. We expect this is actually faster, and we end up needing more space than we can get from the SPRGs in some instances. This is also useful when running as a guest OS - SPRGs4-7 do not have guest versions. 8 slots are allocated in thread_info for this even though we only actually use 4 of them - this allows space for future code to have more scratch space (and we know we'll need it for things like hugetlb). Signed-off-by: Ashish Kalra Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala --- Reading git-diff-tree failed