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:
3bcc1e0
)
- suse kernels have cpu_inline() definition. so, we need not to re-define it
author
alex
<alex>
Tue, 13 Jan 2004 21:25:58 +0000
(21:25 +0000)
committer
alex
<alex>
Tue, 13 Jan 2004 21:25:58 +0000
(21:25 +0000)
lustre/include/linux/lustre_compat25.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_compat25.h
b/lustre/include/linux/lustre_compat25.h
index
fdd1abf
..
ed544ab
100644
(file)
--- a/
lustre/include/linux/lustre_compat25.h
+++ b/
lustre/include/linux/lustre_compat25.h
@@
-110,7
+110,7
@@
static inline void clear_page_dirty(struct page *page)
#define try_module_get __MOD_INC_USE_COUNT
#define module_put __MOD_DEC_USE_COUNT
#define LTIME_S(time) (time)
-#if
ndef CONFIG_RH_2_4_20
+#if
!defined(CONFIG_RH_2_4_20) && !defined(cpu_online)
#define cpu_online(cpu) (cpu_online_map & (1<<cpu))
#endif