[kernel] add 101-perf_arm_uclibc.patch to 3.0 patches
authorFlorian Fainelli <florian@openwrt.org>
Fri, 5 Aug 2011 13:48:31 +0000 (13:48 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 5 Aug 2011 13:48:31 +0000 (13:48 +0000)
SVN-Revision: 27909

target/linux/generic/patches-3.0/101-perf_arm_uclibc.patch [new file with mode: 0644]

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 (file)
index 0000000..e445d82
--- /dev/null
@@ -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 {