* [patch] remove empty function vti_vcpu_load()
@ 2009-04-16 9:24 Jes Sorensen
2009-04-16 9:42 ` Zhang, Xiantao
2009-04-16 13:12 ` Avi Kivity
0 siblings, 2 replies; 3+ messages in thread
From: Jes Sorensen @ 2009-04-16 9:24 UTC (permalink / raw)
To: kvm-ia64
[-- Attachment #1: Type: text/plain, Size: 79 bytes --]
Hi,
vti_vcpu_load() doesn't do anything, so lets get rid of it.
Cheers,
Jes
[-- Attachment #2: 0003-kvm-ia64-remove-vti_vcpu_load.patch --]
[-- Type: text/x-patch, Size: 659 bytes --]
Remove empty function vti_vcpu_load()
Signed-off-by: Jes Sorensen <jes@sgi.com>
---
arch/ia64/kvm/kvm-ia64.c | 5 -----
1 file changed, 5 deletions(-)
Index: linux-2.6.git/arch/ia64/kvm/kvm-ia64.c
===================================================================
--- linux-2.6.git.orig/arch/ia64/kvm/kvm-ia64.c
+++ linux-2.6.git/arch/ia64/kvm/kvm-ia64.c
@@ -1045,10 +1045,6 @@
}
}
-static void vti_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
-{
-}
-
static int vti_init_vpd(struct kvm_vcpu *vcpu)
{
int i;
@@ -1293,7 +1289,6 @@
vcpu->kvm = kvm;
cpu = get_cpu();
- vti_vcpu_load(vcpu, cpu);
r = vti_vcpu_setup(vcpu, id);
put_cpu();
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [patch] remove empty function vti_vcpu_load()
2009-04-16 9:24 [patch] remove empty function vti_vcpu_load() Jes Sorensen
@ 2009-04-16 9:42 ` Zhang, Xiantao
2009-04-16 13:12 ` Avi Kivity
1 sibling, 0 replies; 3+ messages in thread
From: Zhang, Xiantao @ 2009-04-16 9:42 UTC (permalink / raw)
To: kvm-ia64
Acked-by : Xiantao Zhang<xiantao.zhang@intel.com>
-----Original Message-----
From: Jes Sorensen [mailto:jes@sgi.com]
Sent: Thursday, April 16, 2009 5:25 PM
To: Zhang, Xiantao
Cc: Avi Kivity; kvm-ia64@vger.kernel.org
Subject: [patch] remove empty function vti_vcpu_load()
Hi,
vti_vcpu_load() doesn't do anything, so lets get rid of it.
Cheers,
Jes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch] remove empty function vti_vcpu_load()
2009-04-16 9:24 [patch] remove empty function vti_vcpu_load() Jes Sorensen
2009-04-16 9:42 ` Zhang, Xiantao
@ 2009-04-16 13:12 ` Avi Kivity
1 sibling, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2009-04-16 13:12 UTC (permalink / raw)
To: kvm-ia64
Jes Sorensen wrote:
> Hi,
>
> vti_vcpu_load() doesn't do anything, so lets get rid of it.
Applied, thanks.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-16 13:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16 9:24 [patch] remove empty function vti_vcpu_load() Jes Sorensen
2009-04-16 9:42 ` Zhang, Xiantao
2009-04-16 13:12 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox