From: Anshuman Khandual Date: Mon, 20 Jul 2015 02:58:43 +0000 (+0530) Subject: powerpc/signal: Add helper function to fetch quad word aligned pointer X-Git-Tag: omap-for-v4.3/fixes-rc1~100^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2476c09f391eddb546a73fef9f6ab86886a9f2b1;p=pandora-kernel.git 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 [mpe: Reword comment and fix build for CONFIG_ALTIVEC=n] Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed