virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [RFC, PATCH 4/5] Paravirt_ops drop internal patches.patch
@ 2007-04-20  1:52 Zachary Amsden
  2007-04-20  5:10 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 3+ messages in thread
From: Zachary Amsden @ 2007-04-20  1:52 UTC (permalink / raw)
  To: Andrew Morton, Andi Kleen, Jeremy Fitzhardinge, Rusty Russell,
	Chris Wright, Ingo Molnar, Petr Vandrovec, Pratap Subrahmanyam,
	Dan Hecht, Dan Arai, Virtualization Mailing List, Chaz Masden,
	Zachary Amsden

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

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

end of thread, other threads:[~2007-04-20  5:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20  1:52 [RFC, PATCH 4/5] Paravirt_ops drop internal patches.patch Zachary Amsden
2007-04-20  5:10 ` Jeremy Fitzhardinge
2007-04-20  5:13   ` Zachary Amsden

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).