mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 07:25:14 +07:00
3d3337de89
We will need it for atomic.h, so move it from the ad-hoc tools/perf/ place to a tools/ subset of the kernel arch/ hierarchy. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-lp68dspbtjcwbpzd7x5c6zp5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
22 lines
769 B
C
22 lines
769 B
C
#if defined(__i386__) || defined(__x86_64__)
|
|
#include "../../arch/x86/include/asm/barrier.h"
|
|
#elif defined(__arm__)
|
|
#include "../../arch/arm/include/asm/barrier.h"
|
|
#elif defined(__aarch64__)
|
|
#include "../../arch/arm64/include/asm/barrier.h"
|
|
#elif defined(__powerpc__)
|
|
#include "../../arch/powerpc/include/asm/barrier.h"
|
|
#elif defined(__s390__)
|
|
#include "../../arch/s390/include/asm/barrier.h"
|
|
#elif defined(__sh__)
|
|
#include "../../arch/sh/include/asm/barrier.h"
|
|
#elif defined(__sparc__)
|
|
#include "../../arch/sparc/include/asm/barrier.h"
|
|
#elif defined(__alpha__)
|
|
#include "../../arch/alpha/include/asm/barrier.h"
|
|
#elif defined(__ia64__)
|
|
#include "../../arch/ia64/include/asm/barrier.h"
|
|
#elif defined(__xtensa__)
|
|
#include "../../arch/xtensa/include/asm/barrier.h"
|
|
#endif
|