Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove arch symlink
[fs/lustre-release.git]
/
lnet
/
include
/
libcfs
/
libcfs.h
diff --git
a/lnet/include/libcfs/libcfs.h
b/lnet/include/libcfs/libcfs.h
index
2fabeab
..
ecc7086
100644
(file)
--- a/
lnet/include/libcfs/libcfs.h
+++ b/
lnet/include/libcfs/libcfs.h
@@
-8,7
+8,14
@@
#define __attribute__(x)
#endif
#define __attribute__(x)
#endif
-#include <libcfs/arch/libcfs.h>
+#if defined(__linux__)
+#include <libcfs/linux/libcfs.h>
+#elif defined(__APPLE__)
+#include <libcfs/darwin/libcfs.h>
+#else
+#error Unsupported operating system.
+#endif
+
#include "curproc.h"
#define PORTAL_DEBUG
#include "curproc.h"
#define PORTAL_DEBUG
@@
-90,6
+97,7
@@
extern unsigned int portal_printk;
#define D_READA 0x00400000 /* read-ahead */
#define D_MMAP 0x00800000
#define D_CONFIG 0x01000000
#define D_READA 0x00400000 /* read-ahead */
#define D_MMAP 0x00800000
#define D_CONFIG 0x01000000
+#define D_CONSOLE 0x02000000
/* If you change these values, please keep these files up to date...
* portals/utils/debug.c
* utils/lconf
/* If you change these values, please keep these files up to date...
* portals/utils/debug.c
* utils/lconf