| The Android Open Source Project | 4f6e8d7 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | /* | 
|  | 2 | * Copyright (C) 2007 The Android Open Source Project | 
|  | 3 | * | 
|  | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | 
|  | 5 | * you may not use this file except in compliance with the License. | 
|  | 6 | * You may obtain a copy of the License at | 
|  | 7 | * | 
|  | 8 | *      http://www.apache.org/licenses/LICENSE-2.0 | 
|  | 9 | * | 
|  | 10 | * Unless required by applicable law or agreed to in writing, software | 
|  | 11 | * distributed under the License is distributed on an "AS IS" BASIS, | 
|  | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | 13 | * See the License for the specific language governing permissions and | 
|  | 14 | * limitations under the License. | 
|  | 15 | */ | 
|  | 16 |  | 
| Hans Boehm | c566489 | 2014-10-05 16:04:54 +0000 | [diff] [blame] | 17 | /* | 
|  | 18 | * Generate non-inlined versions of android_atomic functions. | 
|  | 19 | * Nobody should be using these, but some binary blobs currently (late 2014) | 
|  | 20 | * are. | 
|  | 21 | * If you read this in 2015 or later, please try to delete this file. | 
|  | 22 | */ | 
|  | 23 |  | 
| Ben Cheng | 5206d59 | 2012-12-07 10:54:09 -0800 | [diff] [blame] | 24 | #define ANDROID_ATOMIC_INLINE | 
| Carl Shapiro | 93b0cb4 | 2010-06-03 17:05:15 -0700 | [diff] [blame] | 25 |  | 
| Hans Boehm | c566489 | 2014-10-05 16:04:54 +0000 | [diff] [blame] | 26 | #include <cutils/atomic.h> |