From: Zachary Amsden <zach@vmware.com>
To: Andrew Morton <akpm@osdl.org>, Andi Kleen <ak@muc.de>,
Jeremy Fitzhardinge <jeremy@goop.org>,
Rusty Russell <rusty@rustcorp.com.au>,
Chris Wright <chrisw@sous-sol.org>, Ingo Molnar <mingo@elte.hu>,
Petr Vandrovec <petr@vmware.com>,
Pratap Subrahmanyam <pratap@vmware.com>,
Dan Hecht <dhecht@vmware.com>, Dan Arai <arai@vmware.com>,
Virtualization Mailing List <virtualization@lists.osdl.org>,
Chaz Masden <zamsden@gmail.com>, Zachary Amsden <zach@vmware.com>
Subject: [RFC, PATCH 4/5] Paravirt_ops drop internal patches.patch
Date: Thu, 19 Apr 2007 18:52:54 -0700 (PDT) [thread overview]
Message-ID: <20070420015254.6C451BFC@zach-dev2.vmware.com> (raw)
Some of these boot hooks do not need to be patched, in fact, it is better not
to patch them at all and thus keep them totally private.
Signed-off-by: Zachary Amsden <zach@vmware.com>
diff -r dba7b8b8e43d include/asm-i386/paravirt.h
--- a/include/asm-i386/paravirt.h Thu Apr 19 16:12:02 2007 -0700
+++ b/include/asm-i386/paravirt.h Thu Apr 19 16:16:19 2007 -0700
@@ -686,12 +686,12 @@ static inline unsigned long apic_read(un
static inline void setup_boot_clock(void)
{
- PVOP_VCALL0(setup_boot_clock);
+ paravirt_ops.setup_boot_clock();
}
static inline void setup_secondary_clock(void)
{
- PVOP_VCALL0(setup_secondary_clock);
+ paravirt_ops.setup_secondary_clock();
}
#endif
@@ -711,7 +711,7 @@ static inline void startup_ipi_hook(int
static inline void startup_ipi_hook(int phys_apicid, unsigned long start_eip,
unsigned long start_esp)
{
- PVOP_VCALL3(startup_ipi_hook, phys_apicid, start_eip, start_esp);
+ paravirt_ops.startup_ipi_hook(phys_apicid, start_eip, start_esp);
}
#endif
next reply other threads:[~2007-04-20 1:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 1:52 Zachary Amsden [this message]
2007-04-20 5:10 ` [RFC, PATCH 4/5] Paravirt_ops drop internal patches.patch Jeremy Fitzhardinge
2007-04-20 5:13 ` Zachary Amsden
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=20070420015254.6C451BFC@zach-dev2.vmware.com \
--to=zach@vmware.com \
--cc=ak@muc.de \
--cc=akpm@osdl.org \
--cc=arai@vmware.com \
--cc=chrisw@sous-sol.org \
--cc=dhecht@vmware.com \
--cc=jeremy@goop.org \
--cc=mingo@elte.hu \
--cc=petr@vmware.com \
--cc=pratap@vmware.com \
--cc=rusty@rustcorp.com.au \
--cc=virtualization@lists.osdl.org \
--cc=zamsden@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).