Skip to contentSkip to conversation

fastcall removal

PATCH Applied Andrea Arcangeli 2 participants 2 messages Feb 15, 2008 – Feb 17, 2008 KVM

lore
Share & tools
lore
#0 lore raw

This allows compiling the external module against linux.git (fastcall has finally become the default and only choice).

kernel/external-module-compat.h +6 -0
index 5611c12..52b745c 100644
@@ -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/

Applied
#1 lore raw
Quoted 4 lines · Andrea Arcangeli

This allows compiling the external module against linux.git (fastcall has finally become the default and only choice).

Applied, thanks.

Signature · 7 lines
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/