summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/smp-tbsync.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-06-27 16:18:27 +1000
committerPaul Mackerras <paulus@samba.org>2008-07-01 11:28:59 +1000
commitfcbc5a976b1cafe2e866871c86d239d57503bfd5 (patch)
tree9f9727a0d86a52ee663db438495ef25889ff6319 /arch/powerpc/kernel/smp-tbsync.c
parent3420b5daffbf5892634fd89a04c010e71e8aeebf (diff)
downloadtalos-op-linux-fcbc5a976b1cafe2e866871c86d239d57503bfd5.tar.gz
talos-op-linux-fcbc5a976b1cafe2e866871c86d239d57503bfd5.zip
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 <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/smp-tbsync.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud