Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbae0a5
)
Branch b1_4
author
adilger
<adilger>
Thu, 14 Jul 2005 21:58:57 +0000
(21:58 +0000)
committer
adilger
<adilger>
Thu, 14 Jul 2005 21:58:57 +0000
(21:58 +0000)
Fix compile problem for LDLM_NUM_THREADS macro in liblustre case.
b=6422
lustre/include/liblustre.h
patch
|
blob
|
history
diff --git
a/lustre/include/liblustre.h
b/lustre/include/liblustre.h
index
3b5d977
..
b02f5e4
100644
(file)
--- a/
lustre/include/liblustre.h
+++ b/
lustre/include/liblustre.h
@@
-89,6
+89,9
@@
typedef unsigned short umode_t;
#ifndef smp_processor_id
#define smp_processor_id() 0
#endif
+#ifndef smp_num_cpus
+#define smp_num_cpus 1
+#endif
/* always adopt 2.5 definitions */
#define KERNEL_VERSION(a,b,c) ((a)*100+(b)*10+c)