summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-07-04 18:02:39 +0100
committerWill Deacon <will@kernel.org>2022-07-05 11:45:45 +0100
commit971f4592881524ddaa7ab487182789925cef4599 (patch)
tree6dae4a78b319b205b29426fd5563e93a24140f64 /arch/arm64/kernel
parent3a87d53853c57c4abea0a2f37cc874c102c2c712 (diff)
downloadlinux-971f4592881524ddaa7ab487182789925cef4599.tar.bz2
arm64/cache: Restrict which headers are included in __ASSEMBLY__
Future changes to generate register definitions automatically will cause this header to be included in a linker script. This will mean that headers it in turn includes that are not safe for use in such a context (eg, due to the use of assembler macros) cause build problems. Avoid these issues by moving the affected includes and associated defines to the section of the file already guarded by ifndef __ASSEMBLY__. Suggested-by: Will Deacon <will@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20220704170302.2609529-6-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel')
0 files changed, 0 insertions, 0 deletions