diff options
author | Rashmica Gupta <rashmicy@gmail.com> | 2017-02-15 21:41:20 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-15 21:42:19 +1100 |
commit | 454656155110603e88b83eec847d5293a30bb96e (patch) | |
tree | 3d55a5ee6b7c459cb6bb8f3a1b8062c0de210142 /ipc/util.c | |
parent | 7d7be3aa08fa338e84eb235805ee18f2fab85a46 (diff) |
powerpc/asm: Use OFFSET macro in asm-offsets.c
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 it.
Signed-off-by: Rashmica Gupta <rashmicy@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions