diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-03-01 15:56:36 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-03-01 16:25:47 +0300 |
commit | bd3524feac214f0ab9693c6d4c0cb5be8e1318b9 (patch) | |
tree | f76d1cc11bc6fbb35a1aa36019efc8e2bf64d3f6 /arch/powerpc/include/asm/sections.h | |
parent | 11f5acce2fa43b015a8120fa7620fa4efd0a2952 (diff) | |
download | linux-bd3524feac214f0ab9693c6d4c0cb5be8e1318b9.tar.xz |
powerpc/64s: Fix unrelocated interrupt trampoline address test
The recent commit got this test wrong, it declared the assembler
symbols the wrong way, and also used the wrong symbol name
(xxx_start rather than start_xxx, see asm/head-64.h).
Fixes: ccd477028a ("powerpc/64s: Fix HV NMI vs HV interrupt recoverability test")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/sections.h')
-rw-r--r-- | arch/powerpc/include/asm/sections.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/sections.h b/arch/powerpc/include/asm/sections.h index e335a8f846af..4a1664a8658d 100644 --- a/arch/powerpc/include/asm/sections.h +++ b/arch/powerpc/include/asm/sections.h @@ -17,6 +17,13 @@ extern char __end_interrupts[]; extern char __prom_init_toc_start[]; extern char __prom_init_toc_end[]; +#ifdef CONFIG_PPC_POWERNV +extern char start_real_trampolines[]; +extern char end_real_trampolines[]; +extern char start_virt_trampolines[]; +extern char end_virt_trampolines[]; +#endif + static inline int in_kernel_text(unsigned long addr) { if (addr >= (unsigned long)_stext && addr < (unsigned long)__init_end) |