Alan said "Seems odd that it would end up missing those macros."

For the curious:

At about 2.6.26 the type "struct mutex" was replaced by "struct
semaphore", and the various mutex-related functions and macros were
implemented in terms of wrappers around the semaphore code.  These
wrappers still exist today in the vanilla 2.6.33 kernel.

However, it looks as if the -rt kernel is in the midst of a translation
from "struct semaphore" to "struct anon_semaphore".  It has implemented
the semaphore functions and macros in terms of the anon_semaphore
versions.  It appears that the support for the mutex wrappers have been
removed in that process.

Since BLCR aims to support kernels including those older than 2.6.26, we
rely on the mutex wrappers rather than shifting our code to use the
semaphore calls.  The patch to cr_module/cr_kcompat.h simply
reintroduces the 2 missing wrappers that we use.

-- 
package blcr-dkms 0.8.2-9 failed to install/upgrade: blcr kernel module failed 
to build against linux-rt kernel
https://bugs.launchpad.net/bugs/534175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to