diff options
author | 2020-10-09 08:55:17 +0200 | |
---|---|---|
committer | 2020-10-09 08:55:17 +0200 | |
commit | e705d397965811ac528d7213b42d74ffe43caf38 (patch) | |
tree | 8a5bbe85cc42e64992b97859976e307027f83e33 /include/linux/compiler_types.h | |
parent | locking/atomics: Check atomic-arch-fallback.h too (diff) | |
parent | lockdep: Revert "lockdep: Use raw_cpu_*() for per-cpu variables" (diff) | |
download | linux-rng-e705d397965811ac528d7213b42d74ffe43caf38.tar.xz linux-rng-e705d397965811ac528d7213b42d74ffe43caf38.zip |
Merge branch 'locking/urgent' into locking/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/compiler_types.h')
-rw-r--r-- | include/linux/compiler_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h index 4b33cb385f96..6e390d58a9f8 100644 --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -11,8 +11,8 @@ # define __iomem __attribute__((noderef, address_space(__iomem))) # define __percpu __attribute__((noderef, address_space(__percpu))) # define __rcu __attribute__((noderef, address_space(__rcu))) -extern void __chk_user_ptr(const volatile void __user *); -extern void __chk_io_ptr(const volatile void __iomem *); +static inline void __chk_user_ptr(const volatile void __user *ptr) { } +static inline void __chk_io_ptr(const volatile void __iomem *ptr) { } /* context/locking */ # define __must_hold(x) __attribute__((context(x,1,1))) # define __acquires(x) __attribute__((context(x,0,1))) |