From: Jamie Iles Date: Fri, 11 Dec 2009 12:20:09 +0000 (+0000) Subject: perf tools: Allow building for ARM X-Git-Tag: v2.6.33-rc1~280^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58e9f94138c1d9c47f6a63632ca7a78fc6dcc15f;p=pandora-kernel.git perf tools: Allow building for ARM Add definitions of rmb() and cpu_relax() and include the ARM unistd.h header. The __kuser_memory_barrier helper in the helper page is used to provide the correct memory barrier depending on the CPU type. [ The rmb() will work on v6 and v7, segfault on v5. Dynamic detection to add v5 support will be added later. ] Signed-off-by: Jamie Iles Cc: Russell King Cc: Peter Zijlstra Cc: Mikael Pettersson LKML-Reference: <1260534009-5394-1-git-send-email-jamie.iles@picochip.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed