projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf_event: Switch to internal refcount, fix race with close()
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
include
/
linux
/
perf_event.h
diff --git
a/include/linux/perf_event.h
b/include/linux/perf_event.h
index
7602ccb
..
ad04dfc
100644
(file)
--- a/
include/linux/perf_event.h
+++ b/
include/linux/perf_event.h
@@
-926,7
+926,7
@@
struct perf_event {
struct hw_perf_event hw;
struct perf_event_context *ctx;
-
struct file *filp
;
+
atomic_long_t refcount
;
/*
* These accumulate total time (in nanoseconds) that children