proc/vmcore: Fix i386 build error of missing copy_oldmem_page_encrypted()
authorBorislav Petkov <bp@suse.de>
Mon, 8 Oct 2018 08:05:20 +0000 (10:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2019 08:53:44 +0000 (09:53 +0100)
commit45d90b93ce95c4db28ad7b8e7cb8606211bc1508
tree76e6da26f22c26a83c2f5738472f939ef8f602e1
parentd17a2b737d73c6e7f289fecce0bb144569866d50
proc/vmcore: Fix i386 build error of missing copy_oldmem_page_encrypted()

[ Upstream commit cf089611f4c446285046fcd426d90c18f37d2905 ]

Lianbo reported a build error with a particular 32-bit config, see Link
below for details.

Provide a weak copy_oldmem_page_encrypted() function which architectures
can override, in the same manner other functionality in that file is
supplied.

Reported-by: Lianbo Jiang <lijiang@redhat.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: x86@kernel.org
Link: http://lkml.kernel.org/r/710b9d95-2f70-eadf-c4a1-c3dc80ee4ebb@redhat.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/proc/vmcore.c