Re: [PATCH v3 39/44] metag: ftrace support

From: Steven Rostedt
Date: Thu Jan 10 2013 - 10:59:49 EST


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@xxxxxxxxxxx>

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/