perf bench mem: Prepare the x86-64 build for upstream memcpy_mcsafe() changes
authorIngo Molnar <mingo@kernel.org>
Wed, 9 Mar 2016 09:40:01 +0000 (10:40 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 Mar 2016 09:40:01 +0000 (10:40 +0100)
commit3a99e6db539e53cc9c79282e80f8362b0cb96ac8
tree1a4ce932a296841833c29a7ab66dd8e3553dffe9
parent7a8698058ae493ae53b1a8a2fa23d2e37000d73e
perf bench mem: Prepare the x86-64 build for upstream memcpy_mcsafe() changes

The following upcoming upstream commit:

  92b0729c34ca ("x86/mm, x86/mce: Add memcpy_mcsafe()")

Adds _ASM_EXTABLE_FAULT(), which is not available in user-space
and breaks the build.

We don't really need _ASM_EXTABLE_FAULT() in user-space, so simply
wrap it to nothing.

Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/bench/mem-memcpy-x86-64-asm.S