]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
perf/powerpc: Fix build for PowerPC with uclibc toolchains
authorFlorian Fainelli <florian@openwrt.org>
Tue, 23 Aug 2011 02:20:08 +0000 (02:20 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Nov 2011 03:11:27 +0000 (14:11 +1100)
commit5182a131ddf988fe4f5cef9964dbfb64a188b0c3
treebb627c6921e0dfb214ea08a17210c854314d0d7a
parent3631cb83ddb13dee08923103e837130069a9944b
perf/powerpc: Fix build for PowerPC with uclibc toolchains

libio.h is not provided by uClibc, in order to be able to test the
definition of __UCLIBC__ we need to include stdlib.h, which also
includes stddef.h, providing the definition of 'NULL'.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
tools/perf/arch/powerpc/util/dwarf-regs.c