aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel
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/kernel
parenta8b900d801697609d1b56cc9c110148c64678068 (diff)
[SPARC64]: Increase swapper_tsb size to 32K.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel')
-rw-r--r--arch/sparc64/kernel/head.S12
-rw-r--r--arch/sparc64/kernel/vmlinux.lds.S3
2 files changed, 6 insertions, 9 deletions
diff --git a/arch/sparc64/kernel/head.S b/arch/sparc64/kernel/head.S
index 2988be85147c..7840271d7aae 100644
--- a/arch/sparc64/kernel/head.S
+++ b/arch/sparc64/kernel/head.S
@@ -484,16 +484,16 @@ sparc64_boot_end:
484/* 484/*
485 * The following skip makes sure the trap table in ttable.S is aligned 485 * The following skip makes sure the trap table in ttable.S is aligned
486 * on a 32K boundary as required by the v9 specs for TBA register. 486 * on a 32K boundary as required by the v9 specs for TBA register.
487 *
488 * We align to a 32K boundary, then we have the 32K kernel TSB,
489 * then the 32K aligned trap table.
487 */ 490 */
4881: 4911:
489 .skip 0x4000 + _start - 1b 492 .skip 0x4000 + _start - 1b
490 493
491#ifdef CONFIG_SBUS 494 .globl swapper_tsb
492/* This is just a hack to fool make depend config.h discovering 495swapper_tsb:
493 strategy: As the .S files below need config.h, but 496 .skip (32 * 1024)
494 make depend does not find it for them, we include config.h
495 in head.S */
496#endif
497 497
498! 0x0000000000408000 498! 0x0000000000408000
499 499
diff --git a/arch/sparc64/kernel/vmlinux.lds.S b/arch/sparc64/kernel/vmlinux.lds.S
index f018aaf45486..467d13a0d5c1 100644
--- a/arch/sparc64/kernel/vmlinux.lds.S
+++ b/arch/sparc64/kernel/vmlinux.lds.S
@@ -44,9 +44,6 @@ SECTIONS
44 __stop___ex_table = .; 44 __stop___ex_table = .;
45 45
46 . = ALIGN(8192); 46 . = ALIGN(8192);
47 swapper_tsb = .;
48 . += 8192;
49 . = ALIGN(8192);
50 __init_begin = .; 47 __init_begin = .;
51 .init.text : { 48 .init.text : {
52 _sinittext = .; 49 _sinittext = .;