<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: Fails to build on more recent kernels.</title><link href="https://sourceforge.net/p/dm2linux/support-requests/2/" rel="alternate"/><link href="https://sourceforge.net/p/dm2linux/support-requests/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/dm2linux/support-requests/2/</id><updated>2012-07-23T21:15:52Z</updated><subtitle>Recent changes to 2: Fails to build on more recent kernels.</subtitle><entry><title>Fails to build on more recent kernels.</title><link href="https://sourceforge.net/p/dm2linux/support-requests/2/" rel="alternate"/><published>2012-07-23T21:15:52Z</published><updated>2012-07-23T21:15:52Z</updated><author><name>Russell Ryan</name><uri>https://sourceforge.net/u/rryan/</uri></author><id>https://sourceforge.netf53c2cc0c3638509312faaf1f4090b7d63186ca7</id><summary type="html">&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;</summary></entry></feed>