[PATCH 1/2] lib: Provide generic atomic64_t implementation

Mike Frysinger vapier.adi at gmail.com
Fri Jun 19 09:55:58 EST 2009


On Sat, Jun 13, 2009 at 03:10, Paul Mackerras wrote:
> +typedef struct {
> +       long long counter;
> +} atomic64_t;

lack of volatile seems odd compared to:
include/linux/types.h:
typedef struct {
    volatile int counter;
} atomic_t;
-mike


More information about the Linuxppc-dev mailing list