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
bc916e67
Commit
bc916e67
authored
Jul 10, 2020
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'x86/urgent' into x86/entry to pick up upstream fixes.
parents
b037b09b
bd87e6f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
arch/x86/entry/common.c
arch/x86/entry/common.c
+2
-2
arch/x86/include/asm/idtentry.h
arch/x86/include/asm/idtentry.h
+2
-2
arch/x86/kernel/traps.c
arch/x86/kernel/traps.c
+2
-0
No files found.
arch/x86/entry/common.c
View file @
bc916e67
...
...
@@ -46,7 +46,7 @@
#include <trace/events/syscalls.h>
/* Check that the stack and regs on entry from user mode are sane. */
static
void
check_user_regs
(
struct
pt_regs
*
regs
)
static
noinstr
void
check_user_regs
(
struct
pt_regs
*
regs
)
{
if
(
IS_ENABLED
(
CONFIG_DEBUG_ENTRY
))
{
/*
...
...
@@ -294,7 +294,7 @@ static void __prepare_exit_to_usermode(struct pt_regs *regs)
#endif
}
__visible
noinstr
void
prepare_exit_to_usermode
(
struct
pt_regs
*
regs
)
static
noinstr
void
prepare_exit_to_usermode
(
struct
pt_regs
*
regs
)
{
instrumentation_begin
();
__prepare_exit_to_usermode
(
regs
);
...
...
arch/x86/include/asm/idtentry.h
View file @
bc916e67
...
...
@@ -557,7 +557,7 @@ DECLARE_IDTENTRY_RAW(X86_TRAP_MC, exc_machine_check);
/* NMI */
DECLARE_IDTENTRY_NMI
(
X86_TRAP_NMI
,
exc_nmi
);
#if
def CONFIG_XEN_PV
#if
defined(CONFIG_XEN_PV) && defined(CONFIG_X86_64)
DECLARE_IDTENTRY_RAW
(
X86_TRAP_NMI
,
xenpv_exc_nmi
);
#endif
...
...
@@ -567,7 +567,7 @@ DECLARE_IDTENTRY_DEBUG(X86_TRAP_DB, exc_debug);
#else
DECLARE_IDTENTRY_RAW
(
X86_TRAP_DB
,
exc_debug
);
#endif
#if
def CONFIG_XEN_PV
#if
defined(CONFIG_XEN_PV) && defined(CONFIG_X86_64)
DECLARE_IDTENTRY_RAW
(
X86_TRAP_DB
,
xenpv_exc_debug
);
#endif
...
...
arch/x86/kernel/traps.c
View file @
bc916e67
...
...
@@ -303,6 +303,8 @@ DEFINE_IDTENTRY_ERRORCODE(exc_alignment_check)
do_trap
(
X86_TRAP_AC
,
SIGBUS
,
"alignment check"
,
regs
,
error_code
,
BUS_ADRALN
,
NULL
);
local_irq_disable
();
}
#ifdef CONFIG_VMAP_STACK
...
...
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