aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-08-05 13:48:31 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-08-05 13:48:31 +0000
commita8e79cbdf815eebffd0ad61e2eae2256453c5992 (patch)
tree5bf5d24fc5981a86d93864fb3ddb7ed3f08fca61
parentc99d08f05018a6a7a2f4ebe295f909f511eed1bc (diff)
downloadupstream-a8e79cbdf815eebffd0ad61e2eae2256453c5992.tar.gz
upstream-a8e79cbdf815eebffd0ad61e2eae2256453c5992.tar.bz2
upstream-a8e79cbdf815eebffd0ad61e2eae2256453c5992.zip
add 101-perf_arm_uclibc.patch to 3.0 patches
SVN-Revision: 27909
-rw-r--r--target/linux/generic/patches-3.0/101-perf_arm_uclibc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/generic/patches-3.0/101-perf_arm_uclibc.patch b/target/linux/generic/patches-3.0/101-perf_arm_uclibc.patch
new file mode 100644
index 0000000000..e445d82ca4
--- /dev/null
+++ b/target/linux/generic/patches-3.0/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 <stdlib.h>
++#ifndef __UCLIBC__
+ #include <libio.h>
++#endif
+ #include <dwarf-regs.h>
+
+ struct pt_regs_dwarfnum {