On Wed, Dec 16, 2015 at 12:42:37AM +0300, Yury Norov wrote: > diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h > index 8786ca5..4e2e3c0 100644 > --- a/arch/arm64/include/asm/elf.h > +++ b/arch/arm64/include/asm/elf.h [...] > +/* > + * struct elf_prstatus is defined in include/uapi/linux/elfcore.h, > + * and has different sise for supported ABIs > + */ > +#define PRSTATUS_SIZE(S) (is_a32_compat_task() ? 124 : > (is_ilp32_compat_task() ? 352 : 392))
It's the *third* time I ask this: can you not use some sizeof instead of the magic numbers? -- Catalin -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

