linux-stable-rt/arch/arm/kernel
Will Deacon 66e1cfe6d5 ARM: 6657/1: hw_breakpoint: fix ptrace breakpoint advertising on unsupported arch
The ptrace debug information register was advertising breakpoint and
watchpoint resources for unsupported debug architectures. This meant
that setting breakpoints on these architectures would appear to succeed,
although they would never fire in reality.

This patch fixes the breakpoint slot probing so that it returns 0 when
running on an unsupported debug architecture.

Reported-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-02-11 22:54:48 +00:00
..
.gitignore
Makefile Merge branch 'devel-stable' into devel 2011-01-06 22:33:32 +00:00
armksyms.c
arthur.c
asm-offsets.c
atags.c
atags.h
bios32.c
calls.S
compat.c
compat.h
crash_dump.c
crunch-bits.S
crunch.c
debug.S
dma-isa.c
dma.c
early_printk.c
ecard.c ARM: ecard: irq_data conversion. 2011-01-13 12:26:17 +01:00
ecard.h
elf.c
entry-armv.S Merge branch 'devel-stable' into devel 2011-01-06 22:33:32 +00:00
entry-common.S Merge branch 'clksrc' into devel 2011-01-05 18:09:03 +00:00
entry-header.S ARM: hw_breakpoint: disable preemption during debug exception handling 2010-12-06 11:55:56 +00:00
etm.c
fiq.c Merge branch 'smp' into misc 2011-01-06 22:32:03 +00:00
ftrace.c
head-common.S ARM: fix missing branch in __error_a 2011-01-15 11:19:19 +00:00
head-nommu.S
head.S ARM: fixup SMP alternatives in modules 2011-02-10 15:25:18 +00:00
hw_breakpoint.c ARM: 6657/1: hw_breakpoint: fix ptrace breakpoint advertising on unsupported arch 2011-02-11 22:54:48 +00:00
init_task.c
io.c
irq.c ARM: core irq_data conversion. 2011-01-13 12:26:17 +01:00
isa.c
iwmmxt.S ARM: pxa: add iwmmx support for PJ4 2010-12-20 23:07:36 +08:00
kgdb.c
kprobes-decode.c
kprobes.c
leds.c
machine_kexec.c ARM: 6522/1: kexec: Add call to non-crashing cores through IPI 2010-12-04 11:02:04 +00:00
module.c ARM: fixup SMP alternatives in modules 2011-02-10 15:25:18 +00:00
perf_event.c ARM: 6654/1: perf/oprofile: fix off-by-one in stack check 2011-02-10 15:29:03 +00:00
perf_event_v6.c ARM: 6521/1: perf: use raw_spinlock_t for pmu_lock 2010-12-04 11:18:08 +00:00
perf_event_v7.c ARM: 6521/1: perf: use raw_spinlock_t for pmu_lock 2010-12-04 11:18:08 +00:00
perf_event_xscale.c ARM: 6521/1: perf: use raw_spinlock_t for pmu_lock 2010-12-04 11:18:08 +00:00
pj4-cp0.c ARM: pxa: add iwmmx support for PJ4 2010-12-20 23:07:36 +08:00
pmu.c
process.c ARM: 6619/1: nommu: avoid mapping vectors page when !CONFIG_MMU 2011-01-11 17:32:24 +00:00
ptrace.c ARM: ptrace: fix style issue with hw_breakpoint interface 2010-12-06 11:55:57 +00:00
ptrace.h
relocate_kernel.S ARM: 6497/1: kexec: Correct data alignment for CONFIG_THUMB2_KERNEL 2010-11-30 13:44:23 +00:00
return_address.c
sched_clock.c ARM: sched_clock: make minsec argument to clocks_calc_mult_shift() zero 2011-01-11 16:44:02 +00:00
setup.c ARM: 6625/1: use memblock memory regions for "System RAM" I/O resources 2011-01-14 22:14:04 +00:00
signal.c
signal.h
smp.c Merge branch 'pgt' (early part) into devel 2011-01-06 22:33:19 +00:00
smp_scu.c
smp_tlb.c ARM: SMP: split out software TLB maintainence broadcasting 2010-12-20 15:09:17 +00:00
smp_twd.c ARM: twd: ensure timer reload is reprogrammed on entry to periodic mode 2011-01-25 21:17:58 +00:00
stacktrace.c ARM: fix /proc/$PID/stack on SMP 2011-01-15 09:27:04 +00:00
swp_emulate.c
sys_arm.c
sys_oabi-compat.c
tcm.c
tcm.h
thumbee.c
time.c ARM: sched_clock: allow init_sched_clock() to be called early 2011-01-11 16:23:04 +00:00
traps.c Merge branch 'pgt' (early part) into devel 2011-01-06 22:33:19 +00:00
unwind.c
vmlinux.lds.S Merge branch 'misc' into devel 2011-01-06 22:32:52 +00:00
xscale-cp0.c