Skip to content

Commit a36be10

Browse files
Scott Woodmatosatti
authored andcommitted
PPC: KVM: Book E doesn't have __end_interrupts.
Fix an unresolved symbol with CONFIG_KVM_GUEST plus CONFIG_RELOCATABLE on Book E. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
1 parent 453d9c5 commit a36be10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/powerpc/kernel/kvm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static void kvm_patch_ins_nop(u32 *inst)
127127

128128
static void kvm_patch_ins_b(u32 *inst, int addr)
129129
{
130-
#ifdef CONFIG_RELOCATABLE
130+
#if defined(CONFIG_RELOCATABLE) && defined(CONFIG_PPC_BOOK3S)
131131
/* On relocatable kernels interrupts handlers and our code
132132
can be in different regions, so we don't patch them */
133133

0 commit comments

Comments
 (0)