| Subject | Re: [PATCH v3 39/44] metag: ftrace support | From | Steven Rostedt <> | Date | Thu, 10 Jan 2013 10:59:57 -0500 |
| |
On Thu, 2013-01-10 at 15:31 +0000, James Hogan wrote:
> --- /dev/null > +++ b/arch/metag/kernel/ftrace.c > @@ -0,0 +1,127 @@ > +/* > + * Copyright (C) 2008 Imagination Technologies Ltd. > + * Licensed under the GPL > + * > + * Dynamic ftrace support. > + */ > + > +#include <linux/ftrace.h> > +#include <linux/io.h> > +#include <linux/uaccess.h> > +#include <linux/ftrace.h> duplicate <linux/ftrace.h>
> + > +#include <asm/cacheflush.h> > + > +#define D04_MOVT_TEMPLATE 0x02200005 > +#define D04_CALL_TEMPLATE 0xAC200005 > +#define D1RTP_MOVT_TEMPLATE 0x03200005 > +#define D1RTP_CALL_TEMPLATE 0xAC200006 > +
The rest looks good.
Acked-by: Steven Rostedt <rostedt@goodmis.org>
-- Steve
|