commit | 2476c09f391eddb546a73fef9f6ab86886a9f2b1 | [log] [tgz] |
---|---|---|
author | Anshuman Khandual <khandual@linux.vnet.ibm.com> | Mon Jul 20 08:28:43 2015 +0530 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jul 21 11:38:29 2015 +1000 |
tree | 0905926503fbb2133988a2ef97eec83f37884e44 | |
parent | 4c576229ac371bc9d96f2b365ebcd296aa266cec [diff] |
powerpc/signal: Add helper function to fetch quad word aligned pointer This patch adds one helper function 'sigcontext_vmx_regs' which computes quad word aligned pointer for 'vmx_reserve' array element in sigcontext structure making the code more readable. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> [mpe: Reword comment and fix build for CONFIG_ALTIVEC=n] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>