diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-11-20 19:30:18 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-05 19:01:16 -0500 |
commit | 71215a75ceddf38ba9d4563481da8dd943de10fc (patch) | |
tree | 5ed65751530bbe094ffb9325d1f401506567ce95 /drivers/oprofile/buffer_sync.c | |
parent | 8bd107633b64195a0748b05236c3d14db0a8bed4 (diff) |
constify get_dcookie() and friends
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/oprofile/buffer_sync.c')
-rw-r--r-- | drivers/oprofile/buffer_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c index 82f7000a285d..642478d35e99 100644 --- a/drivers/oprofile/buffer_sync.c +++ b/drivers/oprofile/buffer_sync.c | |||
@@ -206,7 +206,7 @@ void sync_stop(void) | |||
206 | * because we cannot reach this code without at least one | 206 | * because we cannot reach this code without at least one |
207 | * dcookie user still being registered (namely, the reader | 207 | * dcookie user still being registered (namely, the reader |
208 | * of the event buffer). */ | 208 | * of the event buffer). */ |
209 | static inline unsigned long fast_get_dcookie(struct path *path) | 209 | static inline unsigned long fast_get_dcookie(const struct path *path) |
210 | { | 210 | { |
211 | unsigned long cookie; | 211 | unsigned long cookie; |
212 | 212 | ||