summaryrefslogtreecommitdiffstats
path: root/meta/packages/util-linux/files/gcc34.patch
blob: 8c4a20cdcae5a0467c149a258ba58e740128539a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# 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