File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change 20
20
21
21
#define dmb (option ) __asm__ __volatile__ ("dmb " #option : : : "memory")
22
22
23
- #if __LINUX_ARM_ARCH__ >= 8
24
23
#define aarch32_smp_mb () dmb(ish)
25
24
#define aarch32_smp_rmb () dmb(ishld)
26
25
#define aarch32_smp_wmb () dmb(ishst)
27
- #else
28
- #define aarch32_smp_mb () dmb(ish)
29
- #define aarch32_smp_rmb () aarch32_smp_mb()
30
- #define aarch32_smp_wmb () dmb(ishst)
31
- #endif
32
-
33
26
34
27
#undef smp_mb
35
28
#undef smp_rmb
Original file line number Diff line number Diff line change 65
65
# From arm vDSO Makefile
66
66
VDSO_CAFLAGS += -fPIC -fno-builtin -fno-stack-protector
67
67
VDSO_CAFLAGS += -DDISABLE_BRANCH_PROFILING
68
-
69
-
70
- # Try to compile for ARMv8. If the compiler is too old and doesn't support it,
71
- # fall back to v7. There is no easy way to check for what architecture the code
72
- # is being compiled, so define a macro specifying that (see arch/arm/Makefile).
73
- VDSO_CAFLAGS += $(call cc32-option,-march=armv8-a -D__LINUX_ARM_ARCH__=8,\
74
- -march=armv7-a -D__LINUX_ARM_ARCH__=7)
68
+ VDSO_CAFLAGS += -march=armv8-a
75
69
76
70
VDSO_CFLAGS := $(VDSO_CAFLAGS )
77
71
VDSO_CFLAGS += -DENABLE_COMPAT_VDSO=1
You can’t perform that action at this time.
0 commit comments