diff options
author | Johannes Berg | 2019-09-11 14:51:18 +0200 |
---|---|---|
committer | Richard Weinberger | 2019-09-15 21:37:14 +0200 |
commit | a30cc14fe49c2d5913caf6b987d7cbd86c5e370b (patch) | |
tree | 3cec2864162379e52d419f881cc9441adb139105 /arch/x86/um | |
parent | 278911ee89fa0f35127c0194010ffe2c17c2e3af (diff) |
um: Don't use generic barrier.h
UML has its own platform-specific barrier.h under arch/x86/um/,
which should get used. Fix the build system to use it, and then
fix the barrier.h to actually compile.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um')
-rw-r--r-- | arch/x86/um/asm/barrier.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/x86/um/asm/barrier.h b/arch/x86/um/asm/barrier.h index f31e5d903161..eb0654f39fd2 100644 --- a/arch/x86/um/asm/barrier.h +++ b/arch/x86/um/asm/barrier.h @@ -2,14 +2,7 @@ #ifndef _ASM_UM_BARRIER_H_ #define _ASM_UM_BARRIER_H_ -#include <asm/asm.h> -#include <asm/segment.h> -#include <asm/cpufeatures.h> -#include <asm/cmpxchg.h> -#include <asm/nops.h> - -#include <linux/kernel.h> -#include <linux/irqflags.h> +#include <asm/alternative.h> /* * Force strict CPU ordering. |