* fastcall removal
@ 2008-02-15 17:11 Andrea Arcangeli
2008-02-17 9:02 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Andrea Arcangeli @ 2008-02-15 17:11 UTC (permalink / raw)
To: kvm-devel; +Cc: Avi Kivity
This allows compiling the external module against linux.git (fastcall
has finally become the default and only choice).
Signed-off-by: Andrea Arcangeli <andrea@qumranet.com>
diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h
index 5611c12..52b745c 100644
--- a/kernel/external-module-compat.h
+++ b/kernel/external-module-compat.h
@@ -686,3 +686,9 @@ static inline struct page *__kvm_vm_fault(struct vm_area_struct *vma,
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
+#ifndef FASTCALL
+#define FASTCALL(x) x
+#define fastcall
+#endif
+#endif
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: fastcall removal
2008-02-15 17:11 fastcall removal Andrea Arcangeli
@ 2008-02-17 9:02 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2008-02-17 9:02 UTC (permalink / raw)
To: Andrea Arcangeli; +Cc: kvm-devel
Andrea Arcangeli wrote:
> This allows compiling the external module against linux.git (fastcall
> has finally become the default and only choice).
>
>
Applied, thanks.
--
Any sufficiently difficult bug is indistinguishable from a feature.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-17 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-15 17:11 fastcall removal Andrea Arcangeli
2008-02-17 9:02 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox