projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'usb-4.2-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[platform/kernel/linux-rpi.git]
/
kernel
/
events
/
core.c
diff --git
a/kernel/events/core.c
b/kernel/events/core.c
index
d1f37dd
..
d3dae34
100644
(file)
--- a/
kernel/events/core.c
+++ b/
kernel/events/core.c
@@
-4358,14
+4358,6
@@
static void ring_buffer_wakeup(struct perf_event *event)
rcu_read_unlock();
}
rcu_read_unlock();
}
-static void rb_free_rcu(struct rcu_head *rcu_head)
-{
- struct ring_buffer *rb;
-
- rb = container_of(rcu_head, struct ring_buffer, rcu_head);
- rb_free(rb);
-}
-
struct ring_buffer *ring_buffer_get(struct perf_event *event)
{
struct ring_buffer *rb;
struct ring_buffer *ring_buffer_get(struct perf_event *event)
{
struct ring_buffer *rb;
@@
-5794,7
+5786,7
@@
static void perf_event_mmap_event(struct perf_mmap_event *mmap_event)
* need to add enough zero bytes after the string to handle
* the 64bit alignment we do later.
*/
* need to add enough zero bytes after the string to handle
* the 64bit alignment we do later.
*/
- name =
d_path(&file->f_path
, buf, PATH_MAX - sizeof(u64));
+ name =
file_path(file
, buf, PATH_MAX - sizeof(u64));
if (IS_ERR(name)) {
name = "//toolong";
goto cpy_name;
if (IS_ERR(name)) {
name = "//toolong";
goto cpy_name;