From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Massimo Di Nitto Date: Sat, 17 Jun 2006 11:28:23 +0200 Subject: [Cluster-devel] cluster/gfs2/tool Makefile util.c In-Reply-To: <20060615164049.18131.qmail@sourceware.org> References: <20060615164049.18131.qmail@sourceware.org> Message-ID: <4493CB37.3030005@ubuntu.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > --- cluster/gfs2/tool/util.c 2006/05/05 18:06:09 1.4 > +++ cluster/gfs2/tool/util.c 2006/06/15 16:40:48 1.5 > @@ -27,13 +27,14 @@ > #include > #include > #include > -#include > > #define __user > #include > > #include "gfs2_tool.h" > > +#define PAGE_SIZE (4096) > + > static char sysfs_buf[PAGE_SIZE]; > > char *__get_sysfs(char *fsname, char *filename) I am afraid this change will make portability a problem. Quite a bunch of architectures have different PAGE_SIZE. Perhaps it's worth to dig on why it doesn't build on x86_64 instead? Thanks Fabio -- I'm going to make him an offer he can't refuse.