aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/mm
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-01-31 21:33:49 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:11:26 -0500
commit2f7ee7c63f08b7f883b710a29d91c1891b81b8e1 (patch)
treec0539482cecfd3cbc0b983a23058315811dc8b55 /arch/sparc64/mm
parenta8b900d801697609d1b56cc9c110148c64678068 (diff)
[SPARC64]: Increase swapper_tsb size to 32K.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/mm')
-rw-r--r--arch/sparc64/mm/tsb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/sparc64/mm/tsb.c b/arch/sparc64/mm/tsb.c
index e605478217c2..1c4e5c2dfc53 100644
--- a/arch/sparc64/mm/tsb.c
+++ b/arch/sparc64/mm/tsb.c
@@ -12,14 +12,6 @@
12#include <asm/pgtable.h> 12#include <asm/pgtable.h>
13#include <asm/tsb.h> 13#include <asm/tsb.h>
14 14
15/* We use an 8K TSB for the whole kernel, this allows to
16 * handle about 4MB of modules and vmalloc mappings without
17 * incurring many hash conflicts.
18 */
19#define KERNEL_TSB_SIZE_BYTES 8192
20#define KERNEL_TSB_NENTRIES \
21 (KERNEL_TSB_SIZE_BYTES / sizeof(struct tsb))
22
23extern struct tsb swapper_tsb[KERNEL_TSB_NENTRIES]; 15extern struct tsb swapper_tsb[KERNEL_TSB_NENTRIES];
24 16
25static inline unsigned long tsb_hash(unsigned long vaddr, unsigned long nentries) 17static inline unsigned long tsb_hash(unsigned long vaddr, unsigned long nentries)