diff options
| author | Marek Vasut <[email protected]> | 2015-09-30 14:08:00 +0000 |
|---|---|---|
| committer | Ley Foon Tan <[email protected]> | 2015-11-09 02:33:30 +0000 |
| commit | 713e9b802e21e762f31336da72bcfc32e1ab65ac (patch) | |
| tree | 596930c090db40d4410445d288913c782686e117 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | nios2: Fix unused variable warning (diff) | |
| download | kernel-713e9b802e21e762f31336da72bcfc32e1ab65ac.tar.gz kernel-713e9b802e21e762f31336da72bcfc32e1ab65ac.zip | |
nios2: Switch to generic __xchg()
The generic __xchg() implementation present in asm-generic/cmpxchg.h is
correct on nios2 and even generates the same code. Switch to this generic
implementation to trim down the amount of ad-hoc copies of the code.
Signed-off-by: Marek Vasut <[email protected]>
Acked-by: Ley Foon Tan <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
