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
e877bde2
Commit
e877bde2
authored
Jul 13, 2016
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'core/urgent' into smp/hotplug to pick up dependencies
parents
e1c4cde6
a7c73414
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
kernel/cpu.c
kernel/cpu.c
+2
-0
tools/objtool/builtin-check.c
tools/objtool/builtin-check.c
+6
-2
No files found.
kernel/cpu.c
View file @
e877bde2
...
...
@@ -1201,6 +1201,8 @@ static struct cpuhp_step cpuhp_bp_states[] = {
.
teardown
=
takedown_cpu
,
.
cant_stop
=
true
,
},
#else
[
CPUHP_BRINGUP_CPU
]
=
{
},
#endif
};
...
...
tools/objtool/builtin-check.c
View file @
e877bde2
...
...
@@ -122,10 +122,14 @@ static bool ignore_func(struct objtool_file *file, struct symbol *func)
/* check for STACK_FRAME_NON_STANDARD */
if
(
file
->
whitelist
&&
file
->
whitelist
->
rela
)
list_for_each_entry
(
rela
,
&
file
->
whitelist
->
rela
->
rela_list
,
list
)
if
(
rela
->
sym
->
sec
==
func
->
sec
&&
list_for_each_entry
(
rela
,
&
file
->
whitelist
->
rela
->
rela_list
,
list
)
{
if
(
rela
->
sym
->
type
==
STT_SECTION
&&
rela
->
sym
->
sec
==
func
->
sec
&&
rela
->
addend
==
func
->
offset
)
return
true
;
if
(
rela
->
sym
->
type
==
STT_FUNC
&&
rela
->
sym
==
func
)
return
true
;
}
/* check if it has a context switching instruction */
func_for_each_insn
(
file
,
func
,
insn
)
...
...
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