diff options
Diffstat (limited to 'drivers/dahdi/xpp/xdefs.h')
-rw-r--r-- | drivers/dahdi/xpp/xdefs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dahdi/xpp/xdefs.h b/drivers/dahdi/xpp/xdefs.h index c296698..0a1617f 100644 --- a/drivers/dahdi/xpp/xdefs.h +++ b/drivers/dahdi/xpp/xdefs.h @@ -102,11 +102,11 @@ typedef unsigned char byte; #ifdef __KERNEL__ /* Kernel versions... */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) #define KMEM_CACHE_T kmem_cache_t -#else +#else #define KMEM_CACHE_T struct kmem_cache -#endif +#endif #define KZALLOC(size, gfp) my_kzalloc(size, gfp) #define KZFREE(p) do { \ @@ -145,7 +145,7 @@ typedef unsigned char byte; #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) -/* Also don't define this for later RHEL >= 5.2 . hex_asc is from the +/* Also don't define this for later RHEL >= 5.2 . hex_asc is from the * same linux-2.6-net-infrastructure-updates-to-mac80211-iwl4965.patch * as is the bool typedef. */ #if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,18) || ! defined(hex_asc) |