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

2012-12-10 Thread Michael Neuling
From: Benjamin Herrenschmidt b...@kernel.crashing.org 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

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

2012-12-06 Thread Michael Ellerman
Michael Ellerman mich...@ellerman.id.au wrote: On Thu, 2011-11-17 at 13:31 +1100, Michael Neuling wrote: From: Benjamin Herrenschmidt b...@kernel.crashing.org powerpc/ptrace: Fix build with gcc 4.6 gcc (rightfully) complains that we are accessing beyond the end of the fpr array (we do,

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 b...@kernel.crashing.org 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

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

2011-11-16 Thread Michael Neuling
From: Benjamin Herrenschmidt b...@kernel.crashing.org 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