]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Include vmalloc.h for vzalloc()
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 25 Oct 2021 04:04:13 +0000 (15:04 +1100)
committerBorislav Petkov <bp@suse.de>
Thu, 28 Oct 2021 12:35:27 +0000 (14:35 +0200)
commit4f6fef5139501e6f8c496953e96fc028d344759b
tree059f1c47d31bdfe726dcd1ce0e22d9ba2d82ff11
parent7f367803621e47dd600df7603f34905fa7479a52
x86/fpu: Include vmalloc.h for vzalloc()

Explicitly include that header to avoid build errors when vzalloc()
becomes "invisible" to the compiler due to header reorganizations.

This is not a problem in the tip tree but occurred when integrating
linux-next.

 [ bp: Commit message. ]

Link: https://lore.kernel.org/r/20211025151144.552c60ca@canb.auug.org.au
Fixes: ba8b811f17b4 ("x86/fpu: Provide infrastructure for KVM FPU cleanup")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/fpu/core.c