ARM: Make arch_specific_insn a define for new arch_probes_insn structure
Because the common underlying code for ARM kprobes and uprobes needs to share a common architecrure-specific context structure, and because the generic kprobes include file insists on defining this to a dummy structure when kprobes is not configured, a new common structure is required which can exist when uprobes is configured without kprobes. In this case kprobes will define a dummy structure, but without the define aliasing the two structure tags it will not affect uprobes and the shared probes code. Signed-off-by:David A. Long <dave.long@linaro.org> Acked-by:
Jon Medhurst <tixy@linaro.org>
Showing
- arch/arm/include/asm/kprobes.h 2 additions, 0 deletionsarch/arm/include/asm/kprobes.h
- arch/arm/include/asm/probes.h 4 additions, 4 deletionsarch/arm/include/asm/probes.h
- arch/arm/kernel/kprobes-arm.c 8 additions, 8 deletionsarch/arm/kernel/kprobes-arm.c
- arch/arm/kernel/kprobes-common.c 7 additions, 7 deletionsarch/arm/kernel/kprobes-common.c
- arch/arm/kernel/kprobes-thumb.c 35 additions, 35 deletionsarch/arm/kernel/kprobes-thumb.c
- arch/arm/kernel/kprobes.h 2 additions, 2 deletionsarch/arm/kernel/kprobes.h
- arch/arm/kernel/probes-arm.c 7 additions, 7 deletionsarch/arm/kernel/probes-arm.c
- arch/arm/kernel/probes-arm.h 6 additions, 6 deletionsarch/arm/kernel/probes-arm.h
- arch/arm/kernel/probes-thumb.c 4 additions, 4 deletionsarch/arm/kernel/probes-thumb.c
- arch/arm/kernel/probes-thumb.h 2 additions, 2 deletionsarch/arm/kernel/probes-thumb.h
- arch/arm/kernel/probes.c 5 additions, 5 deletionsarch/arm/kernel/probes.c
- arch/arm/kernel/probes.h 2 additions, 2 deletionsarch/arm/kernel/probes.h
Loading
Please register or sign in to comment