perf tools: Drop asm/types.h wrapper
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 22 Oct 2009 21:23:24 +0000 (23:23 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 23 Oct 2009 05:55:19 +0000 (07:55 +0200)
commit802da5f2289bbe363acef084805195c11f453c48
treef757216ad7d76d1376f8633cd8e629b7efb9da1a
parenta4fb581b15949cfd10b64c8af37bc106e95307f3
perf tools: Drop asm/types.h wrapper

Wrapping the kernel headers is dangerous when it comes to arch
headers. Once we wrap asm/types.h, it will also replace the
glibc asm/types.h, not only the kernel one.

This results in build errors on some machines.

Drop this wrapper and do its work from linux/types.h wrapper,
also the glibc asm/types.h can already handle most of the type
definition it was doing (typedef __u64, __u32, etc...).

Todo: Check the others asm/*.h wrappers to prevent from other
conflicts.

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Anton Blanchard <anton@samba.org>
LKML-Reference: <1256246604-17156-3-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile
tools/perf/util/include/asm/bitops.h
tools/perf/util/include/asm/byteorder.h
tools/perf/util/include/asm/types.h [deleted file]
tools/perf/util/include/linux/types.h