aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-10-22 17:23:24 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-23 01:55:19 -0400
commit802da5f2289bbe363acef084805195c11f453c48 (patch)
treef757216ad7d76d1376f8633cd8e629b7efb9da1a /tools/perf/Makefile
parenta4fb581b15949cfd10b64c8af37bc106e95307f3 (diff)
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>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 65e6e52fe378..0a40c29b2387 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -352,7 +352,6 @@ LIB_H += util/include/asm/bitops.h
352LIB_H += util/include/asm/byteorder.h 352LIB_H += util/include/asm/byteorder.h
353LIB_H += util/include/asm/swab.h 353LIB_H += util/include/asm/swab.h
354LIB_H += util/include/asm/system.h 354LIB_H += util/include/asm/system.h
355LIB_H += util/include/asm/types.h
356LIB_H += util/include/asm/uaccess.h 355LIB_H += util/include/asm/uaccess.h
357LIB_H += perf.h 356LIB_H += perf.h
358LIB_H += util/event.h 357LIB_H += util/event.h