--- a/kpatch-build/create-diff-object.c 2022-08-03 22:33:54.297782237 +0200 +++ b/kpatch-build/create-diff-object.c 2022-08-03 22:34:53.442204389 +0200 @@ -132,12 +132,6 @@ static int is_bundleable(struct symbol * return 0; } -/* Symbol st_others value for powerpc */ -#define STO_PPC64_LOCAL_BIT 5 -#define STO_PPC64_LOCAL_MASK (7 << STO_PPC64_LOCAL_BIT) -#define PPC64_LOCAL_ENTRY_OFFSET(other) \ - (((1 << (((other) & STO_PPC64_LOCAL_MASK) >> STO_PPC64_LOCAL_BIT)) >> 2) << 2) - /* * On ppc64le, the function prologue generated by GCC 6+ has the sequence: *