summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/mol/files/mol-module-fix.patch')
-rw-r--r--app-emulation/mol/files/mol-module-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-emulation/mol/files/mol-module-fix.patch b/app-emulation/mol/files/mol-module-fix.patch
new file mode 100644
index 000000000000..7fd7467be9ae
--- /dev/null
+++ b/app-emulation/mol/files/mol-module-fix.patch
@@ -0,0 +1,12 @@
+--- src/kmod/Linux/alloc.h.orig 2004-03-21 16:20:39.000000000 -0600
++++ src/kmod/Linux/alloc.h 2005-01-16 15:23:17.583148592 -0600
+@@ -24,6 +24,9 @@
+
+ #ifdef LINUX_26
+ #include <asm/cacheflush.h>
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10)
++#include <asm/io.h>
++#endif
+ #endif
+
+ #define spin_lock_mol(x) spin_lock(x)