]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
powerpc: Stop exporting __clear_user which is now inlined.
authorMichal Suchanek <msuchanek@suse.de>
Fri, 4 Dec 2020 23:28:07 +0000 (00:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Dec 2020 12:36:43 +0000 (13:36 +0100)
Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
enabled") redefines __clear_user as inline function but does not remove
the export.

Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/lib/ppc_ksyms.c

index c7f8e9586316181e48079258aedc39abe381b6ae..4b81fd96aa3eb8624c87020a18bd26c74a640a08 100644 (file)
@@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);
 #endif
 
 EXPORT_SYMBOL(__copy_tofrom_user);
-EXPORT_SYMBOL(__clear_user);
 EXPORT_SYMBOL(copy_page);
 
 #ifdef CONFIG_PPC64