diff options
author | Hans Boehm | 2016-08-10 20:44:14 -0500 |
---|---|---|
committer | Hans Boehm | 2016-08-16 12:12:43 -0500 |
commit | e74dec4a390f95177946be4942a45c8be8720ed0 (patch) | |
tree | 2771c9e9755c559b5324b7b39da9c1bb2c20ed82 /libpixelflinger/tests/arch-arm64/assembler | |
parent | 7a746f3a6850198b7f1cad7f22befe9ca48b47fd (diff) | |
download | platform-system-core-e74dec4a390f95177946be4942a45c8be8720ed0.tar.gz platform-system-core-e74dec4a390f95177946be4942a45c8be8720ed0.tar.xz platform-system-core-e74dec4a390f95177946be4942a45c8be8720ed0.zip |
Fix reference counting for Assembly
Use correct memory ordering.
Start the reference count at zero instead of one, thus giving us a
chance to actually deallocate something.
Remove remaining (unused) inclusions of cutils/atomic.h from
libpixelflinger.
Bug: 30838047
Change-Id: I3c6fd4a4861b3635cf398ca2aa3e915118100b10
Diffstat (limited to 'libpixelflinger/tests/arch-arm64/assembler')
-rw-r--r-- | libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp b/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp index 5f5879784..63642c4b1 100644 --- a/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp +++ b/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp | |||
@@ -34,7 +34,6 @@ | |||
34 | 34 | ||
35 | #include <sys/mman.h> | 35 | #include <sys/mman.h> |
36 | #include <cutils/ashmem.h> | 36 | #include <cutils/ashmem.h> |
37 | #include <cutils/atomic.h> | ||
38 | 37 | ||
39 | #define __STDC_FORMAT_MACROS | 38 | #define __STDC_FORMAT_MACROS |
40 | #include <inttypes.h> | 39 | #include <inttypes.h> |