@@ -133,7 +133,7 @@ static struct orc_entry null_orc_entry = {
133133 .sp_offset = sizeof (long ),
134134 .sp_reg = ORC_REG_SP ,
135135 .bp_reg = ORC_REG_UNDEFINED ,
136- .type = UNWIND_HINT_TYPE_CALL
136+ .type = ORC_TYPE_CALL
137137};
138138
139139#ifdef CONFIG_CALL_THUNKS
@@ -153,7 +153,7 @@ static struct orc_entry *orc_callthunk_find(unsigned long ip)
153153
154154/* Fake frame pointer entry -- used as a fallback for generated code */
155155static struct orc_entry orc_fp_entry = {
156- .type = UNWIND_HINT_TYPE_CALL ,
156+ .type = ORC_TYPE_CALL ,
157157 .sp_reg = ORC_REG_BP ,
158158 .sp_offset = 16 ,
159159 .bp_reg = ORC_REG_PREV_SP ,
@@ -554,7 +554,7 @@ bool unwind_next_frame(struct unwind_state *state)
554554
555555 /* Find IP, SP and possibly regs: */
556556 switch (orc -> type ) {
557- case UNWIND_HINT_TYPE_CALL :
557+ case ORC_TYPE_CALL :
558558 ip_p = sp - sizeof (long );
559559
560560 if (!deref_stack_reg (state , ip_p , & state -> ip ))
@@ -567,7 +567,7 @@ bool unwind_next_frame(struct unwind_state *state)
567567 state -> prev_regs = NULL ;
568568 break ;
569569
570- case UNWIND_HINT_TYPE_REGS :
570+ case ORC_TYPE_REGS :
571571 if (!deref_stack_regs (state , sp , & state -> ip , & state -> sp )) {
572572 orc_warn_current ("can't access registers at %pB\n" ,
573573 (void * )orig_ip );
@@ -590,13 +590,13 @@ bool unwind_next_frame(struct unwind_state *state)
590590 state -> full_regs = true;
591591 break ;
592592
593- case UNWIND_HINT_TYPE_REGS_PARTIAL :
593+ case ORC_TYPE_REGS_PARTIAL :
594594 if (!deref_stack_iret_regs (state , sp , & state -> ip , & state -> sp )) {
595595 orc_warn_current ("can't access iret registers at %pB\n" ,
596596 (void * )orig_ip );
597597 goto err ;
598598 }
599- /* See UNWIND_HINT_TYPE_REGS case comment. */
599+ /* See ORC_TYPE_REGS case comment. */
600600 state -> ip = unwind_recover_rethook (state , state -> ip ,
601601 (unsigned long * )(state -> sp - sizeof (long )));
602602
0 commit comments