Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / arch / powerpc / mm / maccess.c
blobfa9a7a718fc670c8415213edba075a1c9e65f671
1 // SPDX-License-Identifier: GPL-2.0-only
3 #include <linux/uaccess.h>
4 #include <linux/kernel.h>
6 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size)
8 return is_kernel_addr((unsigned long)unsafe_src);