Skip to content

Commit

Permalink
Merge branch 'core/urgent' into smp/hotplug to pick up dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Gleixner committed Jul 13, 2016
2 parents e1c4cde + a7c7341 commit e877bde
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1201,6 +1201,8 @@ static struct cpuhp_step cpuhp_bp_states[] = {
.teardown = takedown_cpu,
.cant_stop = true,
},
#else
[CPUHP_BRINGUP_CPU] = { },
#endif
};

Expand Down
8 changes: 6 additions & 2 deletions tools/objtool/builtin-check.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e877bde

Please sign in to comment.