projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc7a98b
)
powerpc/kuap: Remove unused inline function __kuap_assert_locked()
author
YueHaibing
<yuehaibing@huawei.com>
Fri, 11 Mar 2022 13:00:17 +0000
(21:00 +0800)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 4 May 2022 09:37:46 +0000
(19:37 +1000)
commit
2341964e27b0
("powerpc/kuap: Remove __kuap_assert_locked()")
left behind this one, remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20220311130017.22936-1-yuehaibing@huawei.com
arch/powerpc/include/asm/kup.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/kup.h
b/arch/powerpc/include/asm/kup.h
index fb2237809d63b46bf4040c7032cf41a0190c0787..d751ddd081108176c9793c5e7b92eee0f252fda0 100644
(file)
--- 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) { }