From: Matt Fleming Date: Tue, 20 Jan 2009 21:14:38 +0000 (+0000) Subject: sh: Use the atomic_t "counter" member X-Git-Tag: v2.6.30-rc1~673^2~91 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84fdf6cda30df72994baa2496da86787fb44cbb4;p=pandora-kernel.git 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 Signed-off-by: Paul Mundt --- Reading git-diff-tree failed