OSDN Git Service

arm64: do not trace atomic operations
authorPratyush Anand <panand@redhat.com>
Mon, 6 Feb 2017 14:16:22 +0000 (19:46 +0530)
committerWill Deacon <will.deacon@arm.com>
Mon, 6 Feb 2017 19:00:23 +0000 (19:00 +0000)
commitb7eed6ddaa71f1a9afe2ba481d69dea3af0e0755
treeb8e63c1708d31df23001c9621032ebef571a5a0a
parent5e5afa6cbdae5cc2ceda232a68a9ddc943d1d5ce
arm64: do not trace atomic operations

Atomic operation function symbols are exported,when
CONFIG_ARM64_LSE_ATOMICS is defined. Prefix them with notrace, so that
an user can not trace these functions. Tracing these functions causes
kernel crash.

Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/lse.h