diff options
author | Pratyush Anand <panand@redhat.com> | 2017-02-06 17:16:22 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-02-06 22:00:23 +0300 |
commit | b7eed6ddaa71f1a9afe2ba481d69dea3af0e0755 (patch) | |
tree | b8e63c1708d31df23001c9621032ebef571a5a0a /arch/arm64/include/asm/lse.h | |
parent | 5e5afa6cbdae5cc2ceda232a68a9ddc943d1d5ce (diff) | |
download | linux-b7eed6ddaa71f1a9afe2ba481d69dea3af0e0755.tar.xz |
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>
Diffstat (limited to 'arch/arm64/include/asm/lse.h')
-rw-r--r-- | arch/arm64/include/asm/lse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/lse.h b/arch/arm64/include/asm/lse.h index fc756e22c84c..606b20910a5c 100644 --- a/arch/arm64/include/asm/lse.h +++ b/arch/arm64/include/asm/lse.h @@ -19,7 +19,7 @@ __asm__(".arch_extension lse"); /* Move the ll/sc atomics out-of-line */ -#define __LL_SC_INLINE +#define __LL_SC_INLINE notrace #define __LL_SC_PREFIX(x) __ll_sc_##x #define __LL_SC_EXPORT(x) EXPORT_SYMBOL(__LL_SC_PREFIX(x)) |