Commit 0ac58561 authored by Marc Zyngier's avatar Marc Zyngier Committed by Amit Pundir
Browse files

UPSTREAM: arm64: KVM: Add compatibility aliases



So far, we've implemented the new world switch with a completely
different namespace, so that we could have both implementation
compiled in.

Let's take things one step further by adding weak aliases that
have the same names as the original implementation. The weak
attributes allows the new implementation to be overriden by the
old one, and everything still work.

At a later point, we'll be able to simply drop the old code, and
everything will hopefully keep working, thanks to the aliases we
have just added. This also saves us repainting all the callers.

Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Acked-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
(cherry picked from commit 044ac37d)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 640d2cbf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment