summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2026-08-18 18:11:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2026-08-18 18:11:25 -0700
commitccb9331e132a0554f6efb18140eae78bc32b0ee4 (patch)
tree9af27985432a7ac6214fecb66cc5eb911eec0ad1 /arch/um
parentb960327ab340b54f8e20f3af5d0751e2941b6675 (diff)
parent4a73b93ce489a58c9a2aac4a5f5cd8cfa58ced64 (diff)
downloadlinux-ccb9331e132a0554f6efb18140eae78bc32b0ee4.tar.gz
linux-ccb9331e132a0554f6efb18140eae78bc32b0ee4.zip
Merge tag 'x86_alternatives_for_v7.3_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 alternatives update from Borislav Petkov: - Remove the smp_locks alternatives machinery which was used to patch out lock prefixes when running a SMP kernel on a uniprocessor machine * tag 'x86_alternatives_for_v7.3_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/alternative: Drop smp_locks glue
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/kernel/um_arch.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index 2141f5f1f5a2..e4ee693961e4 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -451,18 +451,6 @@ void apply_alternatives(struct alt_instr *start, struct alt_instr *end)
{
}
-#if IS_ENABLED(CONFIG_SMP)
-void alternatives_smp_module_add(struct module *mod, char *name,
- void *locks, void *locks_end,
- void *text, void *text_end)
-{
-}
-
-void alternatives_smp_module_del(struct module *mod)
-{
-}
-#endif
-
void *text_poke(void *addr, const void *opcode, size_t len)
{
/*