]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
KVM: PPC: Introduce branch patching helper
authorAlexander Graf <agraf@suse.de>
Thu, 29 Jul 2010 12:48:02 +0000 (14:48 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:54 +0000 (10:50 +0200)
commit71ee8e34fe26252b11668a95708783ec9c58cbda
tree98946257fc4672f55166b2c88a60137e7f4b9699
parent2d4f567103ff5a931e773f2e356b4eb303115deb
KVM: PPC: Introduce branch patching helper

We will need to patch several instruction streams over to a different
code path, so we need a way to patch a single instruction with a branch
somewhere else.

This patch adds a helper to facilitate this patching.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kernel/kvm.c