diff options
author | Christoph Hellwig <hch@lst.de> | 2020-06-17 10:37:55 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-18 21:14:40 +0300 |
commit | 25f12ae45fc1931a1dce3cc59f9989a9d87834b0 (patch) | |
tree | c89ffb14ca4cbe9afbf312be9e983377c6de5f35 /arch/ia64/include | |
parent | c0ee37e85e0e47402b8bbe35b6cec8e06937ca58 (diff) | |
download | linux-25f12ae45fc1931a1dce3cc59f9989a9d87834b0.tar.xz |
maccess: rename probe_kernel_address to get_kernel_nofault
Better describe what this helper does, and match the naming of
copy_from_kernel_nofault.
Also switch the argument order around, so that it acts and looks
like get_user().
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/include')
-rw-r--r-- | arch/ia64/include/asm/sections.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/include/asm/sections.h b/arch/ia64/include/asm/sections.h index cea15f2dd38d..ad4fc06e5f4b 100644 --- a/arch/ia64/include/asm/sections.h +++ b/arch/ia64/include/asm/sections.h @@ -35,7 +35,7 @@ static inline void *dereference_function_descriptor(void *ptr) struct fdesc *desc = ptr; void *p; - if (!probe_kernel_address(&desc->ip, p)) + if (!get_kernel_nofault(p, &desc->ip)) ptr = p; return ptr; } |