summaryrefslogtreecommitdiff
path: root/README.patches
diff options
context:
space:
mode:
Diffstat (limited to 'README.patches')
-rw-r--r--README.patches6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.patches b/README.patches
index 53b5c8a8a..882482223 100644
--- a/README.patches
+++ b/README.patches
@@ -281,8 +281,10 @@ j) Sometimes it is necessary to introduce some testing code inside a
To allow compatibility tests, linux/version.h is automatically
included by the building system. This allows adding tests like:
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
- #include <linux/kthread.h>
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 16)
+ #include <linux/mutex.h>
+ #else
+ #include <asm/semaphore.h>
#endif
It should be noticed, however, that an explicit inclusion of