Re: [PATCH] perf: missing export.h file

From: Arnaldo Carvalho de Melo
Date: Wed Mar 28 2012 - 10:35:19 EST


Em Wed, Mar 28, 2012 at 02:59:01PM +0200, Eric Dumazet escreveu:
> CC util/rbtree.o
> ../../lib/rbtree.c:24:26: error: linux/export.h: No such file or
> directory
> cc1: warnings being treated as errors
>
> Signed-off-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>
> ---
> I must be missing something, why nobody hits this error ???

I think I saw this reported by another person too, checking.

- Arnaldo

> diff --git a/tools/perf/util/include/linux/export.h b/tools/perf/util/include/linux/export.h
> new file mode 100644
> index 0000000..841636d
> --- /dev/null
> +++ b/tools/perf/util/include/linux/export.h
> @@ -0,0 +1,6 @@
> +#ifndef PERF_LINUX_EXPORT_H
> +#define PERF_LINUX_EXPORT_H
> +
> +#define EXPORT_SYMBOL(name)
> +
> +#endif
>
--
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/