OSDN Git Service

arm64: lse: Include compiler_types.h and export.h for out-of-line LL/SC
authorWill Deacon <will.deacon@arm.com>
Mon, 19 Feb 2018 13:08:56 +0000 (13:08 +0000)
committerWill Deacon <will.deacon@arm.com>
Tue, 27 Mar 2018 12:14:49 +0000 (13:14 +0100)
commit8a624f145c0d40903cb73090f51797e480bd1295
tree5fc40fc12a37d9ad03fb34ad9add1a028a6c4335
parentb4f9b39074878ede60d3e7bdc64a2d89ed5e9297
arm64: lse: Include compiler_types.h and export.h for out-of-line LL/SC

When the LL/SC atomics are moved out-of-line, they are annotated as
notrace and exported to modules. Ensure we pull in the relevant include
files so that these macros are defined when we need them.

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