diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-12-04 02:39:33 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:52:17 -0500 |
commit | 8c4f1f2958ff9d4a6760f3bdd0cfb7d2b9e12093 (patch) | |
tree | 3616f75215bc397725cd86708862d358d2e10d4c /arch/powerpc/kernel | |
parent | 398ab1fcb960ea0800f40a9c36355855e3e23389 (diff) |
[PATCH] powerpc: Create a trampoline for the fwnmi vectors
The fwnmi vectors can be anywhere < 32 MB, so we need to use a trampoline
for them. The kdump kernel will register the trampoline addresses, which will
then jump up to the real code above 32 MB.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/head_64.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index 65aedc938a6e..f4194f5fd2e5 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S | |||
@@ -553,6 +553,7 @@ slb_miss_user_pseries: | |||
553 | * Vectors for the FWNMI option. Share common code. | 553 | * Vectors for the FWNMI option. Share common code. |
554 | */ | 554 | */ |
555 | .globl system_reset_fwnmi | 555 | .globl system_reset_fwnmi |
556 | .align 7 | ||
556 | system_reset_fwnmi: | 557 | system_reset_fwnmi: |
557 | HMT_MEDIUM | 558 | HMT_MEDIUM |
558 | mtspr SPRN_SPRG1,r13 /* save r13 */ | 559 | mtspr SPRN_SPRG1,r13 /* save r13 */ |
@@ -560,6 +561,7 @@ system_reset_fwnmi: | |||
560 | EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, system_reset_common) | 561 | EXCEPTION_PROLOG_PSERIES(PACA_EXGEN, system_reset_common) |
561 | 562 | ||
562 | .globl machine_check_fwnmi | 563 | .globl machine_check_fwnmi |
564 | .align 7 | ||
563 | machine_check_fwnmi: | 565 | machine_check_fwnmi: |
564 | HMT_MEDIUM | 566 | HMT_MEDIUM |
565 | mtspr SPRN_SPRG1,r13 /* save r13 */ | 567 | mtspr SPRN_SPRG1,r13 /* save r13 */ |