[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220311130017.22936-1-yuehaibing@huawei.com>
Date: Fri, 11 Mar 2022 21:00:17 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <mpe@...erman.id.au>, <benh@...nel.crashing.org>,
<paulus@...ba.org>, <christophe.leroy@...roup.eu>
CC: <linuxppc-dev@...ts.ozlabs.org>, <linux-kernel@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH -next] powerpc/kuap: Remove unused inline function __kuap_assert_locked()
commit 2341964e27b0 ("powerpc/kuap: Remove __kuap_assert_locked()")
left behind this one, remove it.
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
arch/powerpc/include/asm/kup.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/include/asm/kup.h b/arch/powerpc/include/asm/kup.h
index fb2237809d63..d751ddd08110 100644
--- a/arch/powerpc/include/asm/kup.h
+++ b/arch/powerpc/include/asm/kup.h
@@ -52,7 +52,6 @@ __bad_kuap_fault(struct pt_regs *regs, unsigned long address, bool is_write)
return false;
}
-static inline void __kuap_assert_locked(void) { }
static inline void __kuap_lock(void) { }
static inline void __kuap_save_and_lock(struct pt_regs *regs) { }
static inline void kuap_user_restore(struct pt_regs *regs) { }
--
2.17.1
Powered by blists - more mailing lists