On Tue, Nov 27, 2012 at 12:16:31PM +0000, Mark Rutland wrote:
> The UAPI changes broke the perf tool, and as of 3.7-rc7, it
> still won't build for arm:
> 
>       In file included from util/../perf.h:81:0,
>                        from util/cache.h:7,
>                        from perf.c:12:
>       util/../../../arch/arm/include/asm/unistd.h:16:29: fatal error: 
> uapi/asm/unistd.h: No such file or directory
>       compilation terminated.
>       make: *** [perf.o] Error 1
> 
> It seems the perf tool build infrastructure can't map <uapi/*> paths,
> and several architectures (arm, arm64, ia64, mips, parisc, powerpc,
> s390) include <uapi/asm/unistd.h> from their <asm/unistd.h>.
> 
> This patch copies 77626081: "perf tools: Fix build on sparc." in simply
> changing the path to use arch/arm/include/uapi/asm/unistd.h directly for
> all of these cases.
> 
> I've tested this on arm, but I don't have the necessary toolchains to
> check the other cases.

For the arm/arm64 parts:

  Acked-by: Will Deacon <will.dea...@arm.com>

Cheers,

Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to