From: Stephen Rothwell Date: Fri, 27 Jun 2008 06:18:27 +0000 (+1000) Subject: powerpc: Explicitly copy elements of pt_regs X-Git-Tag: v2.6.27-rc1~1058^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcbc5a976b1cafe2e866871c86d239d57503bfd5;p=pandora-kernel.git powerpc: Explicitly copy elements of pt_regs Gcc 4.3 produced this warning: arch/powerpc/kernel/signal_64.c: In function 'restore_sigcontext': arch/powerpc/kernel/signal_64.c:161: warning: array subscript is above array bounds This is caused by us copying to aliases of elements of the pt_regs structure. Make those explicit. This adds one extra __get_user and unrolls a loop. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed