arm64: Minor coding style fixes for kc_offset_to_vaddr and kc_vaddr_to_offset
These were introduced by commit 03875ad52f
(arm64: add
kc_offset_to_vaddr and kc_vaddr_to_offset macro).
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
This commit is contained in:
parent
52fa1927e9
commit
7db743c6d8
1 changed files with 3 additions and 2 deletions
|
@ -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 update_mmu_cache_pmd(vma, address, pmd) do { } while (0)
|
||||||
|
|
||||||
#define kc_vaddr_to_offset(v) ((v) & ~VA_START)
|
#define kc_vaddr_to_offset(v) ((v) & ~VA_START)
|
||||||
#define kc_offset_to_vaddr(o) ((o) | VA_START)
|
#define kc_offset_to_vaddr(o) ((o) | VA_START)
|
||||||
|
|
||||||
#endif /* !__ASSEMBLY__ */
|
#endif /* !__ASSEMBLY__ */
|
||||||
|
|
||||||
#endif /* __ASM_PGTABLE_H */
|
#endif /* __ASM_PGTABLE_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue