diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-12-04 18:39:33 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-09 14:52:17 +1100 |
commit | 8c4f1f2958ff9d4a6760f3bdd0cfb7d2b9e12093 (patch) | |
tree | 3616f75215bc397725cd86708862d358d2e10d4c /include/asm-powerpc/firmware.h | |
parent | 398ab1fcb960ea0800f40a9c36355855e3e23389 (diff) | |
download | lwn-8c4f1f2958ff9d4a6760f3bdd0cfb7d2b9e12093.tar.gz lwn-8c4f1f2958ff9d4a6760f3bdd0cfb7d2b9e12093.zip |
[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 'include/asm-powerpc/firmware.h')
-rw-r--r-- | include/asm-powerpc/firmware.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-powerpc/firmware.h b/include/asm-powerpc/firmware.h index 12fabbcb04f0..f804b34cf06a 100644 --- a/include/asm-powerpc/firmware.h +++ b/include/asm-powerpc/firmware.h @@ -98,6 +98,12 @@ typedef struct { extern firmware_feature_t firmware_features_table[]; #endif +extern void system_reset_fwnmi(void); +extern void machine_check_fwnmi(void); + +/* This is true if we are using the firmware NMI handler (typically LPAR) */ +extern int fwnmi_active; + #endif /* __ASSEMBLY__ */ #endif /* __KERNEL__ */ #endif /* __ASM_POWERPC_FIRMWARE_H */ |