[stable] [PATCH] powerpc/ptrace: Fix build with gcc 4.6

2012-12-10 Thread Michael Neuling
From: Benjamin Herrenschmidt gcc (rightfully) complains that we are accessing beyond the end of the fpr array (we do, to access the fpscr). The only sane thing to do (whether anything in that code can be called remotely sane is debatable) is to special case fpscr and handle it as a separate stat

Re: [stable] [PATCH] powerpc/ptrace: Fix build with gcc 4.6

2012-12-06 Thread Michael Ellerman
Michael Ellerman wrote: >On Thu, 2011-11-17 at 13:31 +1100, Michael Neuling wrote: >> From: Benjamin Herrenschmidt >> >> powerpc/ptrace: Fix build with gcc 4.6 >> >> gcc (rightfully) complains that we are accessing beyond the >> end of the fpr array (we do, to access the fpscr). > >This patc

Re: [stable] [PATCH] powerpc/ptrace: Fix build with gcc 4.6

2012-12-05 Thread Michael Ellerman
On Thu, 2011-11-17 at 13:31 +1100, Michael Neuling wrote: > From: Benjamin Herrenschmidt > > powerpc/ptrace: Fix build with gcc 4.6 > > gcc (rightfully) complains that we are accessing beyond the > end of the fpr array (we do, to access the fpscr). This patch is still missing from the 3.0 stabl

[stable] [PATCH] powerpc/ptrace: Fix build with gcc 4.6

2011-11-16 Thread Michael Neuling
From: Benjamin Herrenschmidt powerpc/ptrace: Fix build with gcc 4.6 gcc (rightfully) complains that we are accessing beyond the end of the fpr array (we do, to access the fpscr). The only sane thing to do (whether anything in that code can be called remotely sane is debatable) is to special cas