kernel_optimize_test/arch/s390/kernel
David Wilder b70842df77 [S390] kprobes: Align probe address.
Running a probe on s390 with a probe address that is not 4 byte aligned
results in a Kernel BUG.  The problem is that the stura instruction used
by swap_instruction requires the destination address to be 4 byte aligned.
As stura only writes 4 bytes, aligning to the next 4 byte aligned address
results in the breakpoint instruction being stored past the probe address.
The fix is to align the address backward (to the previous 4 byte aligned
address) and writing the two byte breakpoint instruction in the appropriate
bytes.

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: David Wilder <dwilder@us.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2007-03-26 20:43:46 +02:00
..
asm-offsets.c
audit.c
base.S
binfmt_elf32.c
bitmap.S
compat_audit.c
compat_exec_domain.c
compat_linux.c
compat_linux.h
compat_ptrace.h
compat_signal.c
compat_wrapper.S [S390] Wire up sys_utimes. 2007-03-19 13:19:07 +01:00
cpcmd.c
crash.c
debug.c [S390] strlcpy is smart enough 2007-03-19 13:18:53 +01:00
early.c [S390] memory detection: fix off by one bug. 2007-03-19 13:18:50 +01:00
ebcdic.c
entry64.S
entry.S
head31.S [S390] Fixed handling of access register mode faults. 2007-03-05 23:35:54 +01:00
head64.S [S390] Fixed handling of access register mode faults. 2007-03-05 23:35:54 +01:00
head.S
init_task.c
ipl.c [S390] reboot from and dump to SCSI under z/VM fails. 2007-03-19 13:19:03 +01:00
irq.c
kprobes.c [S390] kprobes: Align probe address. 2007-03-26 20:43:46 +02:00
machine_kexec.c [S390] nss: disable kexec. 2007-03-05 23:35:45 +01:00
Makefile
module.c
process.c
ptrace.c
reipl64.S [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
reipl.S [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
relocate_kernel64.S
relocate_kernel.S
s390_ext.c
s390_ksyms.c
semaphore.c
setup.c
signal.c
smp.c [S390] smp: disable preemption in smp_call_function/smp_call_function_on 2007-03-05 23:35:41 +01:00
stacktrace.c
sys_s390.c
syscalls.S [S390] Wire up sys_utimes. 2007-03-19 13:19:07 +01:00
time.c
traps.c
vmlinux.lds.S
vtime.c