summaryrefslogtreecommitdiff
path: root/README.patches
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-08 00:19:19 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-08 00:19:19 +0200
commit7ce87336c2f386ab6c35e985a5832d21b5cd7fab (patch)
tree13562d693161dbaef976462e0f777fd49f4f8bf1 /README.patches
parent64a2df85368a26eafb15272ae2ba0fc556fbae21 (diff)
downloadmediapointer-dvb-s2-7ce87336c2f386ab6c35e985a5832d21b5cd7fab.tar.gz
mediapointer-dvb-s2-7ce87336c2f386ab6c35e985a5832d21b5cd7fab.tar.bz2
v4l-dvb: remove support for kernels < 2.6.0
From: Hans Verkuil <hverkuil@xs4all.nl> First phase of the backwards compatibility cleanup: stop supporting kernels older than 2.6.0. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
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