Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1c9cad7 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

ARM: KVM: Move kvm/hyp/hyp.h to include/asm/kvm_hyp.h



In order to be able to use the code located in virt/kvm/arm/hyp,
we need to make the global hyp.h file accessible from include/asm,
similar to what we did for arm64.

Acked-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 6d50d54c
Loading
Loading
Loading
Loading
+0 −0

File moved.

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include "hyp.h"
#include <asm/kvm_hyp.h>

__asm__(".arch_extension     virt");

+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include "hyp.h"
#include <asm/kvm_hyp.h>

static u64 *cp15_64(struct kvm_cpu_context *ctxt, int idx)
{
+1 −2
Original line number Diff line number Diff line
@@ -18,8 +18,7 @@
#include <linux/types.h>
#include <asm/kvm_arm.h>
#include <asm/kvm_asm.h>

#include "hyp.h"
#include <asm/kvm_hyp.h>

void __hyp_text __init_stage2_translation(void)
{
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
 */

#include <asm/kvm_asm.h>
#include "hyp.h"
#include <asm/kvm_hyp.h>

__asm__(".arch_extension     virt");

Loading