Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
a5a0abfd
Commit
a5a0abfd
authored
Dec 15, 2023
by
Kent Overstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: fix missing includes/forward declarations
Signed-off-by:
Kent Overstreet
<
kent.overstreet@linux.dev
>
parent
fc09b491
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
0 deletions
+9
-0
arch/x86/include/asm/debugreg.h
arch/x86/include/asm/debugreg.h
+1
-0
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt.h
+4
-0
arch/x86/include/asm/paravirt_types.h
arch/x86/include/asm/paravirt_types.h
+2
-0
arch/x86/kernel/fpu/bugs.c
arch/x86/kernel/fpu/bugs.c
+1
-0
arch/x86/lib/cache-smp.c
arch/x86/lib/cache-smp.c
+1
-0
No files found.
arch/x86/include/asm/debugreg.h
View file @
a5a0abfd
...
...
@@ -5,6 +5,7 @@
#include <linux/bug.h>
#include <linux/percpu.h>
#include <uapi/asm/debugreg.h>
#include <asm/cpufeature.h>
DECLARE_PER_CPU
(
unsigned
long
,
cpu_dr7
);
...
...
arch/x86/include/asm/paravirt.h
View file @
a5a0abfd
...
...
@@ -6,6 +6,10 @@
#include <asm/paravirt_types.h>
#ifndef __ASSEMBLY__
struct
mm_struct
;
#endif
#ifdef CONFIG_PARAVIRT
#include <asm/pgtable_types.h>
#include <asm/asm.h>
...
...
arch/x86/include/asm/paravirt_types.h
View file @
a5a0abfd
...
...
@@ -3,6 +3,8 @@
#define _ASM_X86_PARAVIRT_TYPES_H
#ifndef __ASSEMBLY__
#include <linux/types.h>
/* These all sit in the .parainstructions section to tell us what to patch. */
struct
paravirt_patch_site
{
u8
*
instr
;
/* original instructions */
...
...
arch/x86/kernel/fpu/bugs.c
View file @
a5a0abfd
...
...
@@ -2,6 +2,7 @@
/*
* x86 FPU bug checks:
*/
#include <asm/cpufeature.h>
#include <asm/fpu/api.h>
/*
...
...
arch/x86/lib/cache-smp.c
View file @
a5a0abfd
// SPDX-License-Identifier: GPL-2.0
#include <asm/paravirt.h>
#include <linux/smp.h>
#include <linux/export.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment