Skip to content

Commit a3608f5

Browse files
Peter ZijlstraIngo Molnar
authored andcommitted
objtool: Rename struct cfi_state
There's going to be a new struct cfi_state, rename this one to make place. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Miroslav Benes <[email protected]> Reviewed-by: Alexandre Chartre <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
1 parent c536ed2 commit a3608f5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

tools/objtool/arch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct stack_op {
7070

7171
struct instruction;
7272

73-
void arch_initial_func_cfi_state(struct cfi_state *state);
73+
void arch_initial_func_cfi_state(struct cfi_init_state *state);
7474

7575
int arch_decode_instruction(struct elf *elf, struct section *sec,
7676
unsigned long offset, unsigned int maxlen,

tools/objtool/arch/x86/decode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ int arch_decode_instruction(struct elf *elf, struct section *sec,
512512
return 0;
513513
}
514514

515-
void arch_initial_func_cfi_state(struct cfi_state *state)
515+
void arch_initial_func_cfi_state(struct cfi_init_state *state)
516516
{
517517
int i;
518518

tools/objtool/cfi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ struct cfi_reg {
1818
int offset;
1919
};
2020

21-
struct cfi_state {
21+
struct cfi_init_state {
2222
struct cfi_reg cfa;
2323
struct cfi_reg regs[CFI_NUM_REGS];
2424
};

tools/objtool/check.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct alternative {
2727
};
2828

2929
const char *objname;
30-
struct cfi_state initial_func_cfi;
30+
struct cfi_init_state initial_func_cfi;
3131

3232
struct instruction *find_insn(struct objtool_file *file,
3333
struct section *sec, unsigned long offset)

0 commit comments

Comments
 (0)