diff options
| author | Rashmica Gupta <[email protected]> | 2017-02-15 21:41:20 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-02-15 21:42:19 +1100 |
| commit | 454656155110603e88b83eec847d5293a30bb96e (patch) | |
| tree | 3d55a5ee6b7c459cb6bb8f3a1b8062c0de210142 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| 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 <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions