commit | c51584d52e3878aa9b2bb98cdfb87173e7acf560 | [log] [tgz] |
---|---|---|
author | Scott Wood <scottwood@freescale.com> | Tue Jun 14 18:34:27 2011 -0500 |
committer | Avi Kivity <avi@redhat.com> | Tue Jul 12 13:16:31 2011 +0300 |
tree | c52d3133b30fcc6b68555b8b55232f89fb4b7c84 | |
parent | 685659ee70db0bac47ffd619c726cf600e504fd7 [diff] |
powerpc/e500: SPE register saving: take arbitrary struct offset Previously, these macros hardcoded THREAD_EVR0 as the base of the save area, relative to the base register passed. This base offset is now passed as a separate macro parameter, allowing reuse with other SPE save areas, such as used by KVM. Acked-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>