Re: [PATCH] powerpc: Add Initiate Coprocessor Store Word (icswx) support

2011-04-24 Thread Benjamin Herrenschmidt
On Mon, 2011-04-18 at 11:36 +1000, Anton Blanchard wrote: - By including linux/spinlock_types.h we can remove the dynamic allocation of the spinlock hack and simplify things a lot. Causes all sort of hell for me on some configs. Lockdep is not happy for example and there's some nasty include

Re: [PATCH 3/5] powerpc, hw_breakpoints: Fix racy access to ptrace breakpoints

2011-04-24 Thread K.Prasad
On Fri, Apr 22, 2011 at 03:16:27PM +0200, Frederic Weisbecker wrote: (resend with ppc list in cc) While the tracer accesses ptrace breakpoints, the child task may concurrently exit due to a SIGKILL and thus release its breakpoints at the same time. We can then dereference some freed

[PATCH] powerpc/kexec: Fix build failure on 32-bit SMP

2011-04-24 Thread Ben Hutchings
Commit b987812b3fcaf70fdf0037589e5d2f5f2453e6ce left crash_kexec_wait_realmode() undefined for UP. Commit 7c7a81b53e581d727d069cc45df5510516faac31 defined it for UP but left it undefined for 32-bit SMP. Seems like people are getting confused by nested #ifdef's, so move the definitions of