]> Git Repo - linux.git/blobdiff - include/linux/compiler_types.h
enetc: Migrate to PHYLINK and PCS_LYNX
[linux.git] / include / linux / compiler_types.h
index 4b33cb385f96537a918925100f646fd5ebe3ffbc..6e390d58a9f8c5f25406fbc87a48e2fc99415629 100644 (file)
@@ -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)))
This page took 0.033694 seconds and 4 git commands to generate.