diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-08-21 16:19:56 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-08-21 16:19:56 +0000 |
commit | dc9e73cd3205822dbd0c6c3d9b11f687281aa638 (patch) | |
tree | 2991c4637b3fb0efa882146087e293cfad51e2e8 /xpp/xbus-core.c | |
parent | be8fb05d8cdc6f03a2fefa777fcec7c4ca916ad5 (diff) |
Fix building on kernel 2.6.23rc1, from Axel Thimm (xpp r4523).
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2919 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/xbus-core.c')
-rw-r--r-- | xpp/xbus-core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xpp/xbus-core.c b/xpp/xbus-core.c index f88e2cd..5a9e5d4 100644 --- a/xpp/xbus-core.c +++ b/xpp/xbus-core.c @@ -1281,7 +1281,10 @@ int __init xbus_core_init(void) xframes_cache = kmem_cache_create("xpp_frames", sizeof(xframe_t) + XFRAME_DATASIZE, 0, 0, - NULL, NULL); +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,23) + NULL, +#endif + NULL); if(!xframes_cache) { return -ENOMEM; } |