Skip to content

Commit 868c250

Browse files
sfrothwellsuryasaimadhu
authored andcommitted
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/[email protected] Fixes: 69f6ed1 ("x86/fpu: Provide infrastructure for KVM FPU cleanup") Signed-off-by: Stephen Rothwell <[email protected]> Signed-off-by: Borislav Petkov <[email protected]>
1 parent 101c669 commit 868c250

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kernel/fpu/core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include <linux/hardirq.h>
1818
#include <linux/pkeys.h>
19+
#include <linux/vmalloc.h>
1920

2021
#include "context.h"
2122
#include "internal.h"

0 commit comments

Comments
 (0)