summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/jump_label.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/jump_label.c')
-rw-r--r--arch/sparc/kernel/jump_label.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/jump_label.c b/arch/sparc/kernel/jump_label.c
index 07933b9e9ce0..93adde1ac166 100644
--- a/arch/sparc/kernel/jump_label.c
+++ b/arch/sparc/kernel/jump_label.c
@@ -41,12 +41,10 @@ void arch_jump_label_transform(struct jump_entry *entry,
val = 0x01000000;
}
- get_online_cpus();
mutex_lock(&text_mutex);
*insn = val;
flushi(insn);
mutex_unlock(&text_mutex);
- put_online_cpus();
}
#endif