X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Flinux%2Fmutex.h;h=38a3d0d5331347bd310f269659206b575899bd5f;hb=6455100f38e9312346f4d58511595f695d813537;hp=020a28097931f98e441222373ba017394022e007;hpb=d929d22c2c543ae3ceafa90b378154e6b4cf9a56;p=sliver-openvswitch.git diff --git a/datapath/linux/compat/include/linux/mutex.h b/datapath/linux/compat/include/linux/mutex.h index 020a28097..38a3d0d53 100644 --- a/datapath/linux/compat/include/linux/mutex.h +++ b/datapath/linux/compat/include/linux/mutex.h @@ -5,7 +5,7 @@ #include #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) -#include +#include struct mutex { struct semaphore sema; @@ -15,7 +15,7 @@ struct mutex { #define mutex_destroy(mutex) do { } while (0) #define __MUTEX_INITIALIZER(name) \ - __SEMAPHORE_INITIALIZER(name,1) + __SEMAPHORE_INITIALIZER(name, 1) #define DEFINE_MUTEX(mutexname) \ struct mutex mutexname = { __MUTEX_INITIALIZER(mutexname.sema) }