diff options
author | Michael Hunold <devnull@localhost> | 2003-03-17 21:21:56 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-03-17 21:21:56 +0000 |
commit | 0e0505bca61e2877a5283e37ad447f1496fb5503 (patch) | |
tree | 480e781f36aebe33f461e4d73c16267cb054b0b5 /linux/drivers/media/dvb/dvb-core/compat.h | |
parent | 8dd52d823f399f39d02e35cbd32da30175d0429b (diff) | |
download | mediapointer-dvb-s2-0e0505bca61e2877a5283e37ad447f1496fb5503.tar.gz mediapointer-dvb-s2-0e0505bca61e2877a5283e37ad447f1496fb5503.tar.bz2 |
- Fixed the build-2.4 tree to compile with 2.4.18 kernels.
- Moved some generic stuff from budget-core.c to saa7146_core.c where it belongs
----------------------------------------------------------------------
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/compat.h')
-rw-r--r-- | linux/drivers/media/dvb/dvb-core/compat.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/compat.h b/linux/drivers/media/dvb/dvb-core/compat.h index c78e849ef..35471c721 100644 --- a/linux/drivers/media/dvb/dvb-core/compat.h +++ b/linux/drivers/media/dvb/dvb-core/compat.h @@ -81,11 +81,10 @@ int try_module_get(struct module *mod) #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20) - extern struct page * vmalloc_to_page(void *addr); - +#define unlikely(x) __builtin_expect((x),0) +#define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0) #endif - #endif |