diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2016-12-14 12:32:37 -0800 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2017-01-16 14:42:24 +0530 |
commit | 4d05e13fb0757aee4f6d143e1f7ac7c01bfe2787 (patch) | |
tree | 9ffe2021258e0934aed51f4d9f7ed76806f7f86d /arch/arm64/include/asm/assembler.h | |
parent | 7e73e2156c5ff4a2219ac832e58c7193775e3f8f (diff) |
Revert "FROMLIST: arm64: Introduce uaccess_{disable,enable} functionality based on TTBR0_EL1"
This reverts commit 1911d36b27ba58ee18592df25b7ee636d4d4c41d.
Bug: 31432001
Change-Id: Iee77eed8454f379b948dbbaf65c105952ea30bef
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Diffstat (limited to 'arch/arm64/include/asm/assembler.h')
-rw-r--r-- | arch/arm64/include/asm/assembler.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index aeb4554b3af3..9d3e77a5cf07 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h @@ -53,15 +53,6 @@ msr daifclr, #2 .endm - .macro save_and_disable_irq, flags - mrs \flags, daif - msr daifset, #2 - .endm - - .macro restore_irq, flags - msr daif, \flags - .endm - /* * Enable and disable debug exceptions. */ @@ -372,13 +363,6 @@ alternative_endif .endm /* - * Return the current thread_info. - */ - .macro get_thread_info, rd - mrs \rd, sp_el0 - .endm - -/* * Errata workaround post TTBR0_EL1 update. */ .macro post_ttbr0_update_workaround |