X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2Flinux%2Fcompat%2Finclude%2Flinux%2Fmutex.h;h=38a3d0d5331347bd310f269659206b575899bd5f;hb=08d19ca9fef29b23826f1fb52e2368a9077783ca;hp=020a28097931f98e441222373ba017394022e007;hpb=22bcc0e70becd88bf895c44885d63704affe4284;p=openvswitch diff --git a/datapath/linux/compat/include/linux/mutex.h b/datapath/linux/compat/include/linux/mutex.h index 020a2809..38a3d0d5 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) }