• Ingo Molnar's avatar
    perf bench mem: Prepare the x86-64 build for upstream memcpy_mcsafe() changes · 3a99e6db
    Ingo Molnar authored
    The following upcoming upstream commit:
    
      92b0729c ("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: default avatarIngo Molnar <mingo@kernel.org>
    3a99e6db
mem-memcpy-x86-64-asm.S 520 Bytes