[zaptel-commits] sruffell: branch 1.4 r4597 - /branches/1.4/kernel/xpp/xpd.h
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Fri Dec 19 11:21:35 CST 2008
Author: sruffell
Date: Fri Dec 19 11:21:34 2008
New Revision: 4597
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4597
Log:
Compilation fix for kernels copied from DAHDI.
Modified:
branches/1.4/kernel/xpp/xpd.h
Modified: branches/1.4/kernel/xpp/xpd.h
URL: http://svn.digium.com/view/zaptel/branches/1.4/kernel/xpp/xpd.h?view=diff&rev=4597&r1=4596&r2=4597
==============================================================================
--- branches/1.4/kernel/xpp/xpd.h (original)
+++ branches/1.4/kernel/xpp/xpd.h Fri Dec 19 11:21:34 2008
@@ -30,7 +30,11 @@
#include <linux/kernel.h>
#include <linux/device.h>
#include <asm/atomic.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
+#include <linux/semaphore.h>
+#else
#include <asm/semaphore.h>
+#endif
#include <linux/moduleparam.h>
#ifdef XPP_DEBUGFS
#ifndef CONFIG_DEBUG_FS
More information about the zaptel-commits
mailing list