arm/arm64: Get rid of KERN_TO_HYP
We have both KERN_TO_HYP and kern_hyp_va, which do the exact same thing. Let's standardize on the latter. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
This commit is contained in:

committed by
Christoffer Dall

parent
eac378a9ce
commit
6c41a413fd
@@ -133,7 +133,6 @@ static inline unsigned long __kern_hyp_va(unsigned long v)
|
||||
}
|
||||
|
||||
#define kern_hyp_va(v) (typeof(v))(__kern_hyp_va((unsigned long)(v)))
|
||||
#define KERN_TO_HYP(v) kern_hyp_va(v)
|
||||
|
||||
/*
|
||||
* We currently only support a 40bit IPA.
|
||||
|
Reference in New Issue
Block a user