diff options
author | sr | 2013-07-17 12:10:01 +0200 |
---|---|---|
committer | sr | 2013-07-17 12:10:01 +0200 |
commit | 3fd89450610679c6b777767632d2af5751773295 (patch) | |
tree | fdf63e0555bba9601f012ad5ce3eff631941bc4f /src/types.h | |
parent | Add debug-lock functions that will helpt to spot deadlocks etc. while developing (diff) | |
download | dnbd3-3fd89450610679c6b777767632d2af5751773295.tar.gz dnbd3-3fd89450610679c6b777767632d2af5751773295.tar.xz dnbd3-3fd89450610679c6b777767632d2af5751773295.zip |
Replace all pthread_spin_* calls with spin_*, so that all locking can be tracked and debugged
Fix compilation of kernel module
Diffstat (limited to 'src/types.h')
-rw-r--r-- | src/types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h index 6b074b7..a8d567d 100644 --- a/src/types.h +++ b/src/types.h @@ -22,7 +22,9 @@ #define TYPES_H_ #include "config.h" +#ifndef KERNEL_MODULE #include <stdint.h> +#endif // ioctl #define DNBD3_MAGIC 'd' |