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:
23104b0
)
LC_PAGE_CONSTANT won't work because struct page is not defined, fixed it
author
jxiong
<jxiong>
Fri, 13 Jul 2007 10:17:20 +0000
(10:17 +0000)
committer
jxiong
<jxiong>
Fri, 13 Jul 2007 10:17:20 +0000
(10:17 +0000)
lustre/autoconf/lustre-core.m4
patch
|
blob
|
history
diff --git
a/lustre/autoconf/lustre-core.m4
b/lustre/autoconf/lustre-core.m4
index
3d34d0f
..
11e1dcd
100644
(file)
--- a/
lustre/autoconf/lustre-core.m4
+++ b/
lustre/autoconf/lustre-core.m4
@@
-1017,7
+1017,9
@@
AC_DEFUN([LC_PAGE_CONSTANT],
LB_LINUX_TRY_COMPILE([
#include <linux/page-flags.h>
],[
- PageConstant((struct page *)NULL);
+ #ifndef PG_constant
+ #error "Have no raid5 zcopy patch"
+ #endif
],[
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_PAGE_CONSTANT, 1, [kernel have PageConstant supported])