diff options
author | Will Deacon <will@kernel.org> | 2020-06-30 15:55:59 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-11-10 00:49:34 +0300 |
commit | 7cda23da52ad793a578d290e7fcc9cdc1698bba8 (patch) | |
tree | 93d8b6de3423eae83594c54f922df02584f7f4a8 /arch/arm64/include/asm/asm-uaccess.h | |
parent | e2a2190a80ca0ebddd52c766caf08908d71fb949 (diff) | |
download | linux-7cda23da52ad793a578d290e7fcc9cdc1698bba8.tar.xz |
arm64: alternatives: Split up alternative.h
asm/alternative.h contains both the macros needed to use alternatives,
as well the type definitions and function prototypes for applying them.
Split the header in two, so that alternatives can be used from core
header files such as linux/compiler.h without the risk of circular
includes
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/asm-uaccess.h')
-rw-r--r-- | arch/arm64/include/asm/asm-uaccess.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/asm-uaccess.h b/arch/arm64/include/asm/asm-uaccess.h index 479222ab82d4..2c26ca5b7bb0 100644 --- a/arch/arm64/include/asm/asm-uaccess.h +++ b/arch/arm64/include/asm/asm-uaccess.h @@ -2,7 +2,7 @@ #ifndef __ASM_ASM_UACCESS_H #define __ASM_ASM_UACCESS_H -#include <asm/alternative.h> +#include <asm/alternative-macros.h> #include <asm/kernel-pgtable.h> #include <asm/mmu.h> #include <asm/sysreg.h> |