summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2015-10-16 14:34:50 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2015-10-16 14:34:53 +0100
commit7db743c6d8bb7a08396a0ea3084fb9f8ebccc577 (patch)
treee0629592406bc5efcdd38788be63a351d044e91c /arch/arm64/include
parent52fa1927e953d8b1fbdcf8a19dc75c1499cc3d5d (diff)
downloadlinux-7db743c6d8bb7a08396a0ea3084fb9f8ebccc577.tar.gz
linux-7db743c6d8bb7a08396a0ea3084fb9f8ebccc577.tar.bz2
linux-7db743c6d8bb7a08396a0ea3084fb9f8ebccc577.zip
arm64: Minor coding style fixes for kc_offset_to_vaddr and kc_vaddr_to_offset
These were introduced by commit 03875ad52fdd (arm64: add kc_offset_to_vaddr and kc_vaddr_to_offset macro). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r--arch/arm64/include/asm/pgtable.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h
index 83965dd63d2f..c3d22a507648 100644
--- a/arch/arm64/include/asm/pgtable.h
+++ b/arch/arm64/include/asm/pgtable.h
@@ -673,8 +673,9 @@ static inline void update_mmu_cache(struct vm_area_struct *vma,
#define update_mmu_cache_pmd(vma, address, pmd) do { } while (0)
-#define kc_vaddr_to_offset(v) ((v) & ~VA_START)
-#define kc_offset_to_vaddr(o) ((o) | VA_START)
+#define kc_vaddr_to_offset(v) ((v) & ~VA_START)
+#define kc_offset_to_vaddr(o) ((o) | VA_START)
+
#endif /* !__ASSEMBLY__ */
#endif /* __ASM_PGTABLE_H */