<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 2: Fails to build on more recent kernels.</title><link>https://sourceforge.net/p/dm2linux/support-requests/2/</link><description>Recent changes to 2: Fails to build on more recent kernels.</description><atom:link href="https://sourceforge.net/p/dm2linux/support-requests/2/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 23 Jul 2012 21:15:52 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dm2linux/support-requests/2/feed.rss" rel="self" type="application/rss+xml"/><item><title>Fails to build on more recent kernels.</title><link>https://sourceforge.net/p/dm2linux/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Apparently the SPIN_LOCK_UNLOCKED macro is deprecated and not present in current kernels. I just helped someone compile the kernel module on Ubuntu 12.04 to use their DM2 with Mixxx and I had to make this modification:&lt;/p&gt;
&lt;p&gt;On dm2.c line 991 change:&lt;br /&gt;
dev-&amp;gt;lock = SPIN_LOCK_UNLOCKED;&lt;br /&gt;
to:&lt;br /&gt;
spin_lock_init(&amp;amp;dev-&amp;gt;lock);&lt;/p&gt;
&lt;p&gt;and it worked fine. &lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
RJ Ryan&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Russell Ryan</dc:creator><pubDate>Mon, 23 Jul 2012 21:15:52 -0000</pubDate><guid>https://sourceforge.netf53c2cc0c3638509312faaf1f4090b7d63186ca7</guid></item></channel></rss>