diff options
author | Hans Boehm <hboehm@google.com> | 2014-08-12 22:56:00 +0000 |
---|---|---|
committer | Hans Boehm <hboehm@google.com> | 2014-08-12 22:56:00 +0000 |
commit | 3effababf2980d029339522fdc914bdeb913d99b (patch) | |
tree | b1a4fe410fa86269c9e05ecb193091d178e2b636 /include/binder | |
parent | f010a05c7e9a23b6083294aff4a8183ab01f686e (diff) | |
download | frameworks_native-3effababf2980d029339522fdc914bdeb913d99b.zip frameworks_native-3effababf2980d029339522fdc914bdeb913d99b.tar.gz frameworks_native-3effababf2980d029339522fdc914bdeb913d99b.tar.bz2 |
Revert "Revert "Revert "Revert "Remove incorrect android_atomic_...64 use.""""
After fixing b/16874785.
This reverts commit f010a05c7e9a23b6083294aff4a8183ab01f686e.
Change-Id: I1645ca5d6f60595bf5d388913665ce4b8780b26d
Diffstat (limited to 'include/binder')
-rw-r--r-- | include/binder/Binder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/binder/Binder.h b/include/binder/Binder.h index ba3ac4b..86628a0 100644 --- a/include/binder/Binder.h +++ b/include/binder/Binder.h @@ -17,6 +17,8 @@ #ifndef ANDROID_BINDER_H #define ANDROID_BINDER_H +#include <stdatomic.h> +#include <stdint.h> #include <binder/IBinder.h> // --------------------------------------------------------------------------- @@ -69,7 +71,7 @@ private: class Extras; - Extras* mExtras; + atomic_uintptr_t mExtras; // should be atomic<Extras *> void* mReserved0; }; |