]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - include/linux/compiler.h
Merge tag 'v6.8-rc4' into x86/percpu, to resolve conflicts and refresh the branch
[thirdparty/linux.git] / include / linux / compiler.h
index bb1339c7057b49c877907e9db968e828a28d0f3f..cdcdaa48b4d2d705f0aa59dfe3450f73bc76b180 100644 (file)
@@ -209,7 +209,7 @@ void ftrace_likely_update(struct ftrace_likely_data *f, int val,
  */
 #define ___ADDRESSABLE(sym, __attrs) \
        static void * __used __attrs \
-               __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)&sym;
+       __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym;
 #define __ADDRESSABLE(sym) \
        ___ADDRESSABLE(sym, __section(".discard.addressable"))