diff --git a/arch/powerpc/mm/pgtable-radix.c b/arch/powerpc/mm/pgtable-radix.c index f6af90371b1efa88cd571aa320e166468c96d124..1342859552b1c22046b93f7533835d3c8d46d7e1 100644 --- a/arch/powerpc/mm/pgtable-radix.c +++ b/arch/powerpc/mm/pgtable-radix.c @@ -150,7 +150,8 @@ static int __meminit create_physical_mapping(unsigned long start, vaddr = (unsigned long)__va(addr); - if (overlaps_kernel_text(vaddr, vaddr + mapping_size)) + if (overlaps_kernel_text(vaddr, vaddr + mapping_size) || + overlaps_interrupt_vector_text(vaddr, vaddr + mapping_size)) prot = PAGE_KERNEL_X; else prot = PAGE_KERNEL;