在 2018年10月08日 13:37, Borislav Petkov 写道: > On Mon, Oct 08, 2018 at 11:30:56AM +0800, lijiang wrote: >> Yes. As previously mentioned, the correct patch is this one: > > No, that chunk is not needed and I removed it. But I'd leave it as > an exercise to you to figure out why... or to prove me wrong with a > .config. > > :-) >
I used this ".config" to compile kernel in the attachment, and got a compile error. Would you like to have a try? [root@hp-dl385g10-03 linux]# make ARCH=i386 -j32 ...... LD vmlinux.o MODPOST vmlinux.o fs/proc/vmcore.o:In function ‘read_from_oldmem’: /home/linux/fs/proc/vmcore.c:127:undefined reference to ‘copy_oldmem_page_encrypted’ make: *** [vmlinux] error 1 Regards, Lianbo
i386_config.gz
Description: application/gzip