Michael Holzheu
2dbb4c05d0
bpf/samples: Fix PT_REGS_IP on s390x and use it
...
The files "sampleip_kern.c" and "trace_event_kern.c" directly access
"ctx->regs.ip" which is not available on s390x. Fix this and use the
PT_REGS_IP() macro instead.
Also fix the macro for s390x and use "psw.addr" from "pt_regs".
Reported-by: Zvonko Kosic <zvonko.kosic@de.ibm.com>
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-28 16:26:46 -05:00
..
auxdisplay
samples: move auxdisplay example code from Documentation
2016-09-23 11:52:32 -06:00
blackfin
samples: move blackfin gptimers-example from Documentation
2016-10-10 07:12:02 -06:00
bpf
bpf/samples: Fix PT_REGS_IP on s390x and use it
2016-11-28 16:26:46 -05:00
configfs
configfs: remove old API
2015-10-13 22:17:57 -07:00
connector
samples: connector: from Documentation to samples directory
2016-04-28 07:47:35 -06:00
hidraw
hw_breakpoint
kdb
kfifo
kobject
samples/kobject: be explicit in the module license
2015-03-25 13:41:42 +01:00
kprobes
samples/kretprobe: fix the wrong type
2016-08-04 08:50:07 -04:00
livepatch
livepatch: reuse module loader code to write relocations
2016-04-01 15:00:11 +02:00
mei
samples: move misc-devices/mei example code from Documentation
2016-09-23 11:51:43 -06:00
mic /mpssd
samples: move mic/mpssd example code from Documentation
2016-09-20 12:38:48 -06:00
pktgen
samples: Add an IPv6 '-6' option to the pktgen scripts
2016-07-20 22:16:02 -07:00
rpmsg
rpmsg: Allow callback to return errors
2016-09-08 22:15:25 -07:00
seccomp
samples/seccomp: Add standalone config option
2016-07-07 10:58:03 -07:00
timers
samples: move timers example code from Documentation
2016-09-23 11:51:58 -06:00
trace_events
Sample: Trace_event: Correct the comments
2015-11-02 14:09:15 -05:00
trace_printk
tracing: Add trace_printk sample code
2016-06-20 09:54:21 -04:00
uhid
v4l
[media] vb2: replace void *alloc_ctxs by struct device *alloc_devs
2016-07-08 14:45:07 -03:00
watchdog
samples: move watchdog example code from Documentation
2016-09-23 11:52:14 -06:00
Kconfig
samples: move blackfin gptimers-example from Documentation
2016-10-10 07:12:02 -06:00
Makefile
samples: move blackfin gptimers-example from Documentation
2016-10-10 07:12:02 -06:00