aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/processor_32.h
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-01-20 21:14:38 +0000
committerPaul Mundt <lethal@linux-sh.org>2009-01-29 11:57:10 +0900
commit84fdf6cda30df72994baa2496da86787fb44cbb4 (patch)
tree808758a7b2507ea1f7ddfb07c06f3b2a41b68ed6 /arch/sh/include/asm/processor_32.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 <matt@console-pimps.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/processor_32.h')
0 files changed, 0 insertions, 0 deletions