All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] APIC id reporting is broken.
@ 2009-08-06  8:07 Gleb Natapov
  2009-08-06 10:00 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Gleb Natapov @ 2009-08-06  8:07 UTC (permalink / raw)
  To: avi; +Cc: kvm

It was broken by commit 55b23c7377c9f9f0b4a4b90950f0e18b26ac45e8.

APIC_ID is handled by default clause anyway so remove the special
handling.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index 6c3cd2c..fdddf48 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -556,9 +556,6 @@ static u32 __apic_read(struct kvm_lapic *apic, unsigned int offset)
 		return 0;
 
 	switch (offset) {
-	case APIC_ID:
-		apic_get_reg(apic, offset);
-		break;
 	case APIC_ARBPRI:
 		printk(KERN_WARNING "Access APIC ARBPRI register "
 		       "which is for P6\n");
--
			Gleb.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] APIC id reporting is broken.
  2009-08-06  8:07 [PATCH] APIC id reporting is broken Gleb Natapov
@ 2009-08-06 10:00 ` Avi Kivity
  0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-08-06 10:00 UTC (permalink / raw)
  To: Gleb Natapov; +Cc: kvm

On 08/06/2009 11:07 AM, Gleb Natapov wrote:
> It was broken by commit 55b23c7377c9f9f0b4a4b90950f0e18b26ac45e8.
>
> APIC_ID is handled by default clause anyway so remove the special
> handling.
>    

Applied, thanks.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-06  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06  8:07 [PATCH] APIC id reporting is broken Gleb Natapov
2009-08-06 10:00 ` Avi Kivity

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.