Messages in this thread | | | Date | Fri, 11 Dec 2009 13:04:08 +0000 | From | Jamie Iles <> | Subject | Re: [tip:perf/urgent] perf tools: Allow building for ARM |
| |
On Fri, Dec 11, 2009 at 12:54:33PM +0000, tip-bot for Jamie Iles wrote: > Commit-ID: 58e9f94138c1d9c47f6a63632ca7a78fc6dcc15f > Gitweb: http://git.kernel.org/tip/58e9f94138c1d9c47f6a63632ca7a78fc6dcc15f > Author: Jamie Iles <jamie.iles@picochip.com> > AuthorDate: Fri, 11 Dec 2009 12:20:09 +0000 > Committer: Ingo Molnar <mingo@elte.hu> > CommitDate: Fri, 11 Dec 2009 13:50:21 +0100 > > 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. ] Sorry Ingo, my comment probably wasn't clear enough. The helper that Mikael suggested should work for _all_ ARM processors including v5 and earlier. It will just be a branch to a nop.
Jamie
| |