]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: cmpxchg: Include linux/compiler.h in asm/cmpxchg.h
authorWill Deacon <will.deacon@arm.com>
Tue, 27 Feb 2018 10:50:20 +0000 (10:50 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 27 Mar 2018 12:15:49 +0000 (13:15 +0100)
commitc1bd9f22226887f95d1f6e05d21e0435dd29a368
tree1422b01e432d90e6031589c06d1ef48b3a627a07
parentb19cd6fb4bed2eca4f0e27c8e046f3ee23135740
arm64: cmpxchg: Include linux/compiler.h in asm/cmpxchg.h

We need linux/compiler.h for unreachable(), so #include it here.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/cmpxchg.h