From: Wei Huang <wei.huang2@amd.com>
To: "'xen-devel@lists.xensource.com'" <xen-devel@lists.xensource.com>
Subject: [PATCH]Fix vlapic.h type
Date: Tue, 7 Jul 2009 16:20:08 -0500 [thread overview]
Message-ID: <4A53BC08.1040100@amd.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
The following patch fixes a typo in vlapic_domain inside vlapic.h. I
also found an related error in vlapic.c file, which is fixed by this
patch too.
Signed-off-by: Wei Huang <wei.huang2@amd.com>
[-- Attachment #2: vlapic_typo_patch.txt --]
[-- Type: text/plain, Size: 1172 bytes --]
diff -r d768628c28a4 xen/arch/x86/hvm/vlapic.c
--- a/xen/arch/x86/hvm/vlapic.c Mon Jul 06 11:58:02 2009 +0100
+++ b/xen/arch/x86/hvm/vlapic.c Tue Jul 07 16:16:18 2009 -0500
@@ -460,7 +460,7 @@ int vlapic_ipi(
if ( delivery_mode == APIC_DM_LOWEST )
{
- target = apic_lowest_prio(vlapic_domain(v), lpr_map);
+ target = apic_lowest_prio(vlapic_domain(vlapic), lpr_map);
if ( target != NULL )
rc = vlapic_accept_irq(vlapic_vcpu(target), delivery_mode,
vector, level, trig_mode);
diff -r d768628c28a4 xen/include/asm-x86/hvm/vlapic.h
--- a/xen/include/asm-x86/hvm/vlapic.h Mon Jul 06 11:58:02 2009 +0100
+++ b/xen/include/asm-x86/hvm/vlapic.h Tue Jul 07 16:16:18 2009 -0500
@@ -31,7 +31,7 @@
#define vcpu_vlapic(vcpu) (&(vcpu)->arch.hvm_vcpu.vlapic)
#define vlapic_vcpu(vpic) (container_of((vpic), struct vcpu, \
arch.hvm_vcpu.vlapic))
-#define vlapic_domain(vpic) (vlapic_vcpu(vlapic)->domain)
+#define vlapic_domain(vlapic) (vlapic_vcpu(vlapic)->domain)
#define VLAPIC_ID(vlapic) \
(GET_xAPIC_ID(vlapic_get_reg((vlapic), APIC_ID)))
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2009-07-07 21:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-07 21:20 Wei Huang [this message]
2009-07-08 7:32 ` [PATCH]Fix vlapic.h type Patrick Colp
2009-07-08 9:15 ` Neil Turton
2009-07-08 9:31 ` Patrick Colp
2009-07-08 9:33 ` Tim Deegan
2009-07-08 9:35 ` Neil Turton
2009-07-08 9:38 ` Patrick Colp
2009-07-08 9:58 ` Neil Turton
2009-07-08 9:42 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A53BC08.1040100@amd.com \
--to=wei.huang2@amd.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.