diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-11-21 01:30:18 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-06 01:01:16 +0100 |
commit | 71215a75ceddf38ba9d4563481da8dd943de10fc (patch) | |
tree | 5ed65751530bbe094ffb9325d1f401506567ce95 /arch/powerpc/oprofile | |
parent | audit_log_{name,link_denied}: constify struct path (diff) | |
download | linux-71215a75ceddf38ba9d4563481da8dd943de10fc.tar.xz linux-71215a75ceddf38ba9d4563481da8dd943de10fc.zip |
constify get_dcookie() and friends
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/powerpc/oprofile')
-rw-r--r-- | arch/powerpc/oprofile/cell/spu_task_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/oprofile/cell/spu_task_sync.c b/arch/powerpc/oprofile/cell/spu_task_sync.c index 83d2b4ef7f0d..44d67b167e0b 100644 --- a/arch/powerpc/oprofile/cell/spu_task_sync.c +++ b/arch/powerpc/oprofile/cell/spu_task_sync.c @@ -295,7 +295,7 @@ out: * dcookie user still being registered (namely, the reader * of the event buffer). */ -static inline unsigned long fast_get_dcookie(struct path *path) +static inline unsigned long fast_get_dcookie(const struct path *path) { unsigned long cookie; |