summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/entry-header.S
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2014-04-02 10:57:48 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-04-09 13:08:07 +0100
commit39ad04ccd6e1b235601e9ac5a7f508d05728a97a (patch)
treed50dbff0e4d813aaf3ee0199e2ec853422145ba3 /arch/arm/kernel/entry-header.S
parenta5d4506d070adb785459bf142ef707d7c5fe3b84 (diff)
downloadop-kernel-dev-39ad04ccd6e1b235601e9ac5a7f508d05728a97a.zip
op-kernel-dev-39ad04ccd6e1b235601e9ac5a7f508d05728a97a.tar.gz
ARM: 8017/1: Move asm macro get_thread_info to asm/assembler.h
asm/assembler.h is a better place for this macro since it is used by asm files outside arch/arm/kernel/ Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Tested-by: Arun KS <getarunks@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/entry-header.S')
-rw-r--r--arch/arm/kernel/entry-header.S11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/kernel/entry-header.S b/arch/arm/kernel/entry-header.S
index 39f89fb..1420725 100644
--- a/arch/arm/kernel/entry-header.S
+++ b/arch/arm/kernel/entry-header.S
@@ -236,11 +236,6 @@
movs pc, lr @ return & move spsr_svc into cpsr
.endm
- .macro get_thread_info, rd
- mov \rd, sp, lsr #13
- mov \rd, \rd, lsl #13
- .endm
-
@
@ 32-bit wide "mov pc, reg"
@
@@ -306,12 +301,6 @@
.endm
#endif /* ifdef CONFIG_CPU_V7M / else */
- .macro get_thread_info, rd
- mov \rd, sp
- lsr \rd, \rd, #13
- mov \rd, \rd, lsl #13
- .endm
-
@
@ 32-bit wide "mov pc, reg"
@
OpenPOWER on IntegriCloud