From 10f78687abad77adfe5ce35756c1d9a00976134b Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 7 Jul 2011 09:43:00 +0000 Subject: [kernel] fix building of perf for arm on uclibc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27514 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch (limited to 'target/linux/generic') diff --git a/target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch b/target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch new file mode 100644 index 000000000..e445d82ca --- /dev/null +++ b/target/linux/generic/patches-2.6.39/101-perf_arm_uclibc.patch @@ -0,0 +1,13 @@ +--- a/tools/perf/arch/arm/util/dwarf-regs.c ++++ b/tools/perf/arch/arm/util/dwarf-regs.c +@@ -8,7 +8,10 @@ + * published by the Free Software Foundation. + */ + ++#include ++#ifndef __UCLIBC__ + #include ++#endif + #include + + struct pt_regs_dwarfnum { -- cgit v1.2.3