Files
linux/arch/s390/kernel
Heiko Carstens 50bec4ce5d [S390] ftrace: fix kernel stack backchain walking
With CONFIG_IRQSOFF_TRACER the trace_hardirqs_off() function includes
a call to __builtin_return_address(1). But we calltrace_hardirqs_off()
from early entry code. There we have just a single stack frame.
So this results in a kernel stack backchain walk that would walk beyond
the kernel stack. Following the NULL terminated backchain this results
in a lowcore read access.

To fix this we simply call trace_hardirqs_off_caller() and pass the
current instruction pointer.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-11-14 18:18:53 +01:00
..
2005-04-16 15:20:36 -07:00
2008-07-14 10:02:25 +02:00
2008-04-17 07:47:06 +02:00
2008-04-30 13:38:47 +02:00
2007-04-27 16:01:42 +02:00
2008-10-10 21:33:57 +02:00
2008-04-17 10:42:34 -04:00
2008-10-10 21:33:57 +02:00
2008-10-28 11:12:03 +01:00
2008-10-10 21:34:02 +02:00
2008-04-30 13:38:43 +02:00
2008-08-25 18:15:01 +02:00
2008-07-14 10:02:18 +02:00