git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Fix coding style issues.
[sliver-openvswitch.git]
/
datapath
/
linux
/
compat
/
include
/
linux
/
mutex.h
diff --git
a/datapath/linux/compat/include/linux/mutex.h
b/datapath/linux/compat/include/linux/mutex.h
index
020a280
..
38a3d0d
100644
(file)
--- a/
datapath/linux/compat/include/linux/mutex.h
+++ b/
datapath/linux/compat/include/linux/mutex.h
@@
-5,7
+5,7
@@
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
-#include <
asm
/semaphore.h>
+#include <
linux
/semaphore.h>
struct mutex {
struct semaphore sema;
struct mutex {
struct semaphore sema;
@@
-15,7
+15,7
@@
struct mutex {
#define mutex_destroy(mutex) do { } while (0)
#define __MUTEX_INITIALIZER(name) \
#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) }
#define DEFINE_MUTEX(mutexname) \
struct mutex mutexname = { __MUTEX_INITIALIZER(mutexname.sema) }