Re: powerpc/cell/oprofile: avoid double free of profile buffer

2008-08-19 Thread Robert Richter
On 11.08.08 09:25:43, Arnd Bergmann wrote: > From: Carl Love <[EMAIL PROTECTED]> > > If an error occurs on opcontrol start, the event and per cpu buffers > are released. If later opcontrol shutdown is called then the free > function will be called again to free buffers that no longer > exist. Th

powerpc/cell/oprofile: avoid double free of profile buffer

2008-08-11 Thread Arnd Bergmann
From: Carl Love <[EMAIL PROTECTED]> If an error occurs on opcontrol start, the event and per cpu buffers are released. If later opcontrol shutdown is called then the free function will be called again to free buffers that no longer exist. This results in a kernel oops. The following changes pre