diff options
author | Zong Li <zong.li@sifive.com> | 2019-10-28 08:42:47 +0100 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-11-12 21:04:52 +0100 |
commit | 6b57ba8ed48a3ee3d6b53294ccbf02b8cb83c604 (patch) | |
tree | bc86c2336402e4a3a3af3faa9945bb751e6ba5ac /arch/riscv/include/asm/image.h | |
parent | riscv: Use PMD_SIZE to replace PTE_PARENT_SIZE (diff) | |
download | linux-6b57ba8ed48a3ee3d6b53294ccbf02b8cb83c604.tar.xz linux-6b57ba8ed48a3ee3d6b53294ccbf02b8cb83c604.zip |
riscv: clean up the macro format in each header file
There are many different formats in each header now, such as
_ASM_XXX_H, __ASM_XXX_H, _ASM_RISCV_XXX_H, RISCV_XXX_H, etc., This patch
tries to unify the format by using _ASM_RISCV_XXX_H, because the most
header use it now. This patch also adds the conditional to the headers
if they lost it.
Signed-off-by: Zong Li <zong.li@sifive.com>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Diffstat (limited to 'arch/riscv/include/asm/image.h')
-rw-r--r-- | arch/riscv/include/asm/image.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/riscv/include/asm/image.h b/arch/riscv/include/asm/image.h index 344db5244547..7b0f92ba0acc 100644 --- a/arch/riscv/include/asm/image.h +++ b/arch/riscv/include/asm/image.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_IMAGE_H -#define __ASM_IMAGE_H +#ifndef _ASM_RISCV_IMAGE_H +#define _ASM_RISCV_IMAGE_H #define RISCV_IMAGE_MAGIC "RISCV\0\0\0" #define RISCV_IMAGE_MAGIC2 "RSC\x05" @@ -62,4 +62,4 @@ struct riscv_image_header { u32 res4; }; #endif /* __ASSEMBLY__ */ -#endif /* __ASM_IMAGE_H */ +#endif /* _ASM_RISCV_IMAGE_H */ |