From ea08eeccae9297f7aabd2ef7f0c2517ac4549acc Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:18:26 +0000
Subject: [PATCH] write in 30M

---
 kernel/arch/sparc/include/asm/futex_64.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/kernel/arch/sparc/include/asm/futex_64.h b/kernel/arch/sparc/include/asm/futex_64.h
index 0865ce7..72de967 100644
--- a/kernel/arch/sparc/include/asm/futex_64.h
+++ b/kernel/arch/sparc/include/asm/futex_64.h
@@ -38,8 +38,6 @@
 	if (unlikely((((unsigned long) uaddr) & 0x3UL)))
 		return -EINVAL;
 
-	pagefault_disable();
-
 	switch (op) {
 	case FUTEX_OP_SET:
 		__futex_cas_op("mov\t%4, %1", ret, oldval, uaddr, oparg);
@@ -59,8 +57,6 @@
 	default:
 		ret = -ENOSYS;
 	}
-
-	pagefault_enable();
 
 	if (!ret)
 		*oval = oldval;

--
Gitblit v1.6.2