From: Robert R. <rob...@am...> - 2011-05-24 15:42:52
|
On 08.05.11 19:32:36, Anton Blanchard wrote: > > The oprofile code is still including asm/mutex.h instead of > linux/mutex.h > > Signed-off-by: Anton Blanchard <an...@sa...> Patch applied to the oprofile tree. Thanks Anton, -Robert > --- > > Index: linux-2.6-work/drivers/oprofile/event_buffer.h > =================================================================== > --- linux-2.6-work.orig/drivers/oprofile/event_buffer.h 2011-04-22 14:53:06.079922708 +1000 > +++ linux-2.6-work/drivers/oprofile/event_buffer.h 2011-05-04 14:53:29.024948356 +1000 > @@ -11,7 +11,7 @@ > #define EVENT_BUFFER_H > > #include <linux/types.h> > -#include <asm/mutex.h> > +#include <linux/mutex.h> > > int alloc_event_buffer(void); > > Index: linux-2.6-work/drivers/oprofile/oprof.c > =================================================================== > --- linux-2.6-work.orig/drivers/oprofile/oprof.c 2011-04-22 14:53:06.079922708 +1000 > +++ linux-2.6-work/drivers/oprofile/oprof.c 2011-05-04 14:53:29.024948356 +1000 > @@ -14,7 +14,7 @@ > #include <linux/moduleparam.h> > #include <linux/workqueue.h> > #include <linux/time.h> > -#include <asm/mutex.h> > +#include <linux/mutex.h> > > #include "oprof.h" > #include "event_buffer.h" > -- Advanced Micro Devices, Inc. Operating System Research Center |