diff options
author | Ivan Orlov <[email protected]> | 2023-06-20 16:44:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-05 08:31:41 +0200 |
commit | f4a5fbfa50a59c9bd4d5fc7f0f62cd34c24b5908 (patch) | |
tree | 7ac1487409a785dbd353a2226449e44211e2c588 /lib/crypto/mpi/mpi-inv.c | |
parent | 32944855bac74bda81deec6c1480a82db8ef9beb (diff) |
x86/cpuid: make cpuid_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the cpuid_class structure to be declared at build time
placing it into read-only memory, instead of having to be dynamically
allocated at boot time.
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: [email protected]
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions