X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fmutex.h;h=9121595a8ebfe14a1d2330c79454f4b53a088669;hb=1b8e94993c4752d98c33903aa836acc15f7e6d5c;hp=a940fe435acac1e6b48774686cdd39c9f0cd652d;hpb=29f742f88a32c9ab8cf6d9ba69e1ea918be5aa58;p=pandora-kernel.git diff --git a/include/linux/mutex.h b/include/linux/mutex.h index a940fe435aca..9121595a8ebf 100644 --- a/include/linux/mutex.h +++ b/include/linux/mutex.h @@ -15,7 +15,7 @@ #include #include -#include +#include /* * Simple, straightforward mutexes with strict semantics: @@ -92,7 +92,7 @@ do { \ \ __mutex_init((mutex), #mutex, &__key); \ } while (0) -# define mutex_destroy(mutex) do { } while (0) +static inline void mutex_destroy(struct mutex *lock) {} #endif #ifdef CONFIG_DEBUG_LOCK_ALLOC