blob: bda23e00ed710e634152be31f4c1db207cca0721 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#if (PAGE_SIZE == 4096)
2 CACHE(32)
3#endif
4 CACHE(64)
5#if L1_CACHE_BYTES < 64
6 CACHE(96)
7#endif
8 CACHE(128)
9#if L1_CACHE_BYTES < 128
10 CACHE(192)
11#endif
12 CACHE(256)
13 CACHE(512)
14 CACHE(1024)
15 CACHE(2048)
16 CACHE(4096)
17 CACHE(8192)
18 CACHE(16384)
19 CACHE(32768)
20 CACHE(65536)
21 CACHE(131072)
Jack Steinera615fa82006-03-06 15:42:50 -080022#if (NR_CPUS > 512) || (MAX_NUMNODES > 256) || !defined(CONFIG_MMU)
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 CACHE(262144)
Jack Steinera615fa82006-03-06 15:42:50 -080024#endif
25#ifndef CONFIG_MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -070026 CACHE(524288)
27 CACHE(1048576)
28#ifdef CONFIG_LARGE_ALLOCS
29 CACHE(2097152)
30 CACHE(4194304)
31 CACHE(8388608)
32 CACHE(16777216)
33 CACHE(33554432)
34#endif /* CONFIG_LARGE_ALLOCS */
35#endif /* CONFIG_MMU */