24 lines
531 B
Diff
24 lines
531 B
Diff
|
|
#
|
|
# Patch managed by http://www.holgerschurig.de/patcher.html
|
|
#
|
|
|
|
--- util-linux-2.12o/disk-utils/fsck.cramfs.c~gcc34
|
|
+++ util-linux-2.12o/disk-utils/fsck.cramfs.c
|
|
@@ -77,15 +77,7 @@
|
|
#define PAD_SIZE 512
|
|
|
|
#include <asm/page.h>
|
|
-#ifdef PAGE_SIZE
|
|
-#define PAGE_CACHE_SIZE ((int) PAGE_SIZE)
|
|
-#elif defined __ia64__
|
|
-#define PAGE_CACHE_SIZE (16384)
|
|
-#elif defined __alpha__
|
|
-#define PAGE_CACHE_SIZE (8192)
|
|
-#else
|
|
#define PAGE_CACHE_SIZE (4096)
|
|
-#endif
|
|
|
|
/* Guarantee access to at least 8kB at a time */
|
|
#define ROMBUFFER_BITS 13
|