diff options
author | Ivan Orlov <[email protected]> | 2023-06-20 16:44:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-05 08:31:42 +0200 |
commit | 7630ea17f4e273ea68ec4ff88d6c71503a68f120 (patch) | |
tree | 1143ebfd1e5fce84a58bc131b5a8518f99a46259 /lib/crypto/mpi/mpi-inv.c | |
parent | 5b87c058bf67905fcadf7b0a0786a6989e604cab (diff) |
x86/resctrl: make pseudo_lock_class a static const structure
Now that the driver core allows for struct class to be in read-only
memory, move the pseudo_lock_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: Fenghua Yu <[email protected]>
Cc: Reinette Chatre <[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]
Cc: "H. Peter Anvin" <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ivan Orlov <[email protected]>
Acked-by: Reinette Chatre <[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