x86,objtool: Introduce ORC_TYPE_*
Unwind hints and ORC entry types are two distinct things. Separate them out more explicitly. Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/cc879d38fff8a43f8f7beb2fd56e35a5a384d7cd.1677683419.git.jpoimboe@kernel.org
This commit is contained in:
committed by
Peter Zijlstra
parent
d88ebba45d
commit
f902cfdd46
@@ -4,7 +4,6 @@
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
#include <linux/objtool_types.h>
|
||||
#include <asm/orc_types.h>
|
||||
#include <objtool/objtool.h>
|
||||
#include <objtool/warn.h>
|
||||
@@ -39,11 +38,11 @@ static const char *reg_name(unsigned int reg)
|
||||
static const char *orc_type_name(unsigned int type)
|
||||
{
|
||||
switch (type) {
|
||||
case UNWIND_HINT_TYPE_CALL:
|
||||
case ORC_TYPE_CALL:
|
||||
return "call";
|
||||
case UNWIND_HINT_TYPE_REGS:
|
||||
case ORC_TYPE_REGS:
|
||||
return "regs";
|
||||
case UNWIND_HINT_TYPE_REGS_PARTIAL:
|
||||
case ORC_TYPE_REGS_PARTIAL:
|
||||
return "regs (partial)";
|
||||
default:
|
||||
return "?";
|
||||
|
||||
Reference in New Issue
Block a user