diff options
| author | Juergen Gross <jgross@suse.com> | 2024-11-29 16:15:54 +0100 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2024-12-13 09:28:32 +0100 |
| commit | 0ef8047b737d7480a5d4c46d956e97c190f13050 (patch) | |
| tree | 34ac003c882605b69761786af8e121a68d1e6e24 /include/linux/static_call.h | |
| parent | dda014ba59331dee4f3b773a020e109932f4bd24 (diff) | |
x86/static-call: provide a way to do very early static-call updates
Add static_call_update_early() for updating static-call targets in
very early boot.
This will be needed for support of Xen guest type specific hypercall
functions.
This is part of XSA-466 / CVE-2024-53241.
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Co-developed-by: Peter Zijlstra <peterz@infradead.org>
Co-developed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Diffstat (limited to 'include/linux/static_call.h')
| -rw-r--r-- | include/linux/static_call.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/static_call.h b/include/linux/static_call.h index 141e6b176a1b..785980af8972 100644 --- a/include/linux/static_call.h +++ b/include/linux/static_call.h @@ -138,6 +138,7 @@ #ifdef CONFIG_HAVE_STATIC_CALL #include <asm/static_call.h> +extern int static_call_initialized; /* * Either @site or @tramp can be NULL. */ |
