[1/3] powerpc/asm: Use OFFSET macro in asm-offsets.c

Michael Ellerman patch-notifications at ellerman.id.au
Thu Feb 16 16:59:45 AEDT 2017

On Thu, 2016-06-02 at 04:29:46 UTC, Rashmica Gupta wrote:
> A lot of entries in asm-offests.c look like this:
> DEFINE(TI_FLAGS, offsetof(struct thread_info, flags));
> But there is a common macro, OFFSET, which makes this cleaner:
> OFFSET(TI_flags, thread_info, flags), so use this.
> Signed-off-by: Rashmica Gupta <rashmicy at gmail.com>

Applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list