forked from luck/tmp_suning_uos_patched
fcff588633
handle_arch_irq isn't actually text, it's just a function pointer. It doesn't need to be stored in the text section and doing so causes problesm if we ever want to make the kernel text read only. Declare handle_arch_irq as a proper function pointer stored in the data section. Reviewed-by: Kees Cook <keescook@chromium.org> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Mark Rutland <mark.rutland@arm.com> Tested-by: Kees Cook <keescook@chromium.org> Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com> |
||
---|---|---|
.. | ||
xen | ||
alternative-asm.h | ||
alternative.h | ||
arch_timer.h | ||
asm-offsets.h | ||
assembler.h | ||
atomic.h | ||
barrier.h | ||
bitops.h | ||
cache.h | ||
cacheflush.h | ||
cachetype.h | ||
cmpxchg.h | ||
compat.h | ||
compiler.h | ||
cpu_ops.h | ||
cpu.h | ||
cpufeature.h | ||
cpuidle.h | ||
cputable.h | ||
cputype.h | ||
debug-monitors.h | ||
device.h | ||
dma-mapping.h | ||
dmi.h | ||
efi.h | ||
elf.h | ||
esr.h | ||
exception.h | ||
exec.h | ||
fb.h | ||
fixmap.h | ||
fpsimd.h | ||
fpsimdmacros.h | ||
ftrace.h | ||
futex.h | ||
hardirq.h | ||
hugetlb.h | ||
hw_breakpoint.h | ||
hwcap.h | ||
hypervisor.h | ||
insn.h | ||
io.h | ||
irq_work.h | ||
irq.h | ||
irqflags.h | ||
jump_label.h | ||
Kbuild | ||
kgdb.h | ||
kvm_arm.h | ||
kvm_asm.h | ||
kvm_coproc.h | ||
kvm_emulate.h | ||
kvm_host.h | ||
kvm_mmio.h | ||
kvm_mmu.h | ||
kvm_psci.h | ||
linkage.h | ||
memblock.h | ||
memory.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
neon.h | ||
opcodes.h | ||
page.h | ||
pci.h | ||
percpu.h | ||
perf_event.h | ||
pgalloc.h | ||
pgtable-hwdef.h | ||
pgtable-types.h | ||
pgtable.h | ||
pmu.h | ||
proc-fns.h | ||
processor.h | ||
psci.h | ||
ptrace.h | ||
shmparam.h | ||
signal32.h | ||
smp_plat.h | ||
smp.h | ||
sparsemem.h | ||
spinlock_types.h | ||
spinlock.h | ||
stackprotector.h | ||
stacktrace.h | ||
stat.h | ||
string.h | ||
suspend.h | ||
sync_bitops.h | ||
syscall.h | ||
syscalls.h | ||
sysreg.h | ||
system_misc.h | ||
thread_info.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
traps.h | ||
uaccess.h | ||
ucontext.h | ||
unistd32.h | ||
unistd.h | ||
vdso_datapage.h | ||
vdso.h | ||
virt.h | ||
word-at-a-time.h |