From df1dddf9ffcfc1e291de809c0e8b9060bfea02ee Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 7 Dec 2006 00:26:12 +0100 Subject: Imported from util-linux-2.12 tarball. --- disk-utils/mkfs.cramfs.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'disk-utils/mkfs.cramfs.c') diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index a88819b6..32755715 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -46,7 +46,14 @@ static const char *progname = "mkcramfs"; static int verbose = 0; +#ifdef __ia64__ +#define PAGE_CACHE_SIZE (16384) +#elif defined __alpha__ +#define PAGE_CACHE_SIZE (8192) +#else #define PAGE_CACHE_SIZE (4096) +#endif + /* The kernel assumes PAGE_CACHE_SIZE as block size. */ static unsigned int blksize = PAGE_CACHE_SIZE; /* settable via -b option */ static long total_blocks = 0, total_nodes = 1; /* pre-count the root node */ -- cgit v1.2.3