mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 08:15:17 +07:00
4f3db0746c
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-cgfhreaejd7ohitdjccu9k2o@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
20 lines
692 B
C
20 lines
692 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"
|
|
#endif
|