OSDN Git Service

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)
commit868c250bb4639531ff33b2d879fbef39c1d9ed39
tree059f1c47d31bdfe726dcd1ce0e22d9ba2d82ff11
parent101c669d165d341b8c35424eb3878138044394ef
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: 69f6ed1d14c6 ("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