diff options
author | Matt Fleming <matt@console-pimps.org> | 2009-01-20 21:14:38 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-01-29 11:57:10 +0900 |
commit | 84fdf6cda30df72994baa2496da86787fb44cbb4 (patch) | |
tree | 808758a7b2507ea1f7ddfb07c06f3b2a41b68ed6 /arch/sh/include/asm/kprobes.h | |
parent | 42990701f938b9318e46102d9919ceb28e5b0e6d (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/kprobes.h')
0 files changed, 0 insertions, 0 deletions