summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-01-27 11:50:21 +0000
committerMichael Hunold <devnull@localhost>2003-01-27 11:50:21 +0000
commit0edc076629716ec567c3de5b922f880b5c0fd459 (patch)
tree2aa904463595b0796845f3ca1fe84b77f7068d39 /linux/drivers/media/dvb
parent20f38ee4089ddef8a057920c8ded5b67fd24bd60 (diff)
downloadmediapointer-dvb-s2-0edc076629716ec567c3de5b922f880b5c0fd459.tar.gz
mediapointer-dvb-s2-0edc076629716ec567c3de5b922f880b5c0fd459.tar.bz2
Adjusted the versioning for the "get_user_pages()" function,
changed the README for the 2.4.x build -- use a kernel >= 2.4.20.
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-core/compat.c2
-rw-r--r--linux/drivers/media/dvb/dvb-core/compat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/compat.c b/linux/drivers/media/dvb/dvb-core/compat.c
index 255d89616..d66012ee4 100644
--- a/linux/drivers/media/dvb/dvb-core/compat.c
+++ b/linux/drivers/media/dvb/dvb-core/compat.c
@@ -128,7 +128,7 @@ EXPORT_SYMBOL(crc32_le);
#endif
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20))
struct page * vmalloc_to_page(void *vmalloc_addr)
{
unsigned long addr = (unsigned long) vmalloc_addr;
diff --git a/linux/drivers/media/dvb/dvb-core/compat.h b/linux/drivers/media/dvb/dvb-core/compat.h
index 49f32ecbd..c78e849ef 100644
--- a/linux/drivers/media/dvb/dvb-core/compat.h
+++ b/linux/drivers/media/dvb/dvb-core/compat.h
@@ -80,7 +80,7 @@ int try_module_get(struct module *mod)
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20)
extern struct page * vmalloc_to_page(void *addr);