summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-05 13:48:31 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-08-05 13:48:31 +0000
commit8be08aa65de9fec59f0bb7de407382ac58b44a0c (patch)
treeb64c19a1a31b6e25bc66b498a240584c089c0448
parent5c96e06c2550f8a6dd75e17f527013e0ac087211 (diff)
[kernel] add 101-perf_arm_uclibc.patch to 3.0 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27909 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 {