aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorMatt Fleming <[email protected]>2009-01-20 21:14:38 +0000
committerPaul Mundt <[email protected]>2009-01-29 11:57:10 +0900
commit84fdf6cda30df72994baa2496da86787fb44cbb4 (patch)
tree808758a7b2507ea1f7ddfb07c06f3b2a41b68ed6 /include/linux/debugobjects.h
parent42990701f938b9318e46102d9919ceb28e5b0e6d (diff)
sh: Use the atomic_t "counter" member
Now that atomic_t is a generic opaque type for all architectures, it is unwise to use intimate knowledge of its internals when manipulating it. Instead of relying on the "counter" member being at offset 0 from the beginning of an atomic_t, explicitly reference the member. This guards us from any changes to the layout of the beginning of the atomic_t type. Signed-off-by: Matt Fleming <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions