diff options
author | Uros Bizjak <[email protected]> | 2023-12-04 22:02:29 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2023-12-11 11:47:14 +0100 |
commit | 0e3703630bd3fead041a6bfb3a3f2a9891af6c34 (patch) | |
tree | 610d738bf6c30b4db16044479fe23f3244781c5f /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | fc50065325f8b88d6986f089ae103b5db858ab96 (diff) |
x86/percpu: Fix "const_pcpu_hot" version generation failure
Version generation for "const_pcpu_hot" symbol failed because genksyms
doesn't know the __seg_gs keyword. Effectively revert commit 4604c052b84d
("x86/percpu: Declare const_pcpu_hot as extern const variable") and
use this_cpu_read_const() instead to avoid "sparse: dereference of
noderef expression" warning when reading const_pcpu_hot.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions