Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 06:28:44 +0000 (UTC)
From:      Neel Natu <neel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r259213 - head/sys/amd64/vmm/io
Message-ID:  <201312110628.rBB6SiBZ025337@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: neel
Date: Wed Dec 11 06:28:44 2013
New Revision: 259213
URL: http://svnweb.freebsd.org/changeset/base/259213

Log:
  Fix typo when initializing the vlapic version register ('<<' instead of '<').

Modified:
  head/sys/amd64/vmm/io/vlapic.c

Modified: head/sys/amd64/vmm/io/vlapic.c
==============================================================================
--- head/sys/amd64/vmm/io/vlapic.c	Wed Dec 11 05:32:29 2013	(r259212)
+++ head/sys/amd64/vmm/io/vlapic.c	Wed Dec 11 06:28:44 2013	(r259213)
@@ -260,7 +260,7 @@ vlapic_init_ipi(struct vlapic *vlapic)
 {
 	struct LAPIC    *lapic = &vlapic->apic;
 	lapic->version = VLAPIC_VERSION;
-	lapic->version |= (VLAPIC_MAXLVT_ENTRIES < MAXLVTSHIFT);
+	lapic->version |= (VLAPIC_MAXLVT_ENTRIES << MAXLVTSHIFT);
 	lapic->dfr = 0xffffffff;
 	lapic->svr = APIC_SVR_VECTOR;
 	vlapic_mask_lvts(&lapic->lvt_timer, VLAPIC_MAXLVT_ENTRIES+1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312110628.rBB6SiBZ025337>