Skip to content

Conversation

@msabramo
Copy link
Contributor

@msabramo msabramo commented Mar 1, 2012

At some point in Linux kernel history, DECLARE_MUTEX was renamed to DEFINE_SEMAPHORE. Older kernels like the stock kernel on Ubuntu 10.04.4 (Linux ubuntu 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686 GNU/Linux) don't have DEFINE_SEMAPHORE in their headers.

Fixes GH-11.

…l history, DECLARE_MUTEX was renamed to DEFINE_SEMAPHORE. Older kernels like the stock kernel on Ubuntu 10.04.4 (Linux ubuntu 2.6.32-38-generic dtrace4linux#83-Ubuntu SMP Wed Jan 4 11:13:04 UTC 2012 i686 GNU/Linux) don't have DEFINE_SEMAPHORE in their headers.

Fixes dtrace4linuxGH-11.
@dtrace4linux
Copy link
Owner

applied a fix in next push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build error in driver/mutex.c: invalid storage class for function 'DEFINE_SEMAPHORE'

2 participants