diff options
author | Mark Rutland <mark.rutland@arm.com> | 2019-01-03 13:23:10 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-01-03 18:03:41 +0000 |
commit | 8c2c596f8f453ffa6ef3bf14abc48a86b5431e56 (patch) | |
tree | 43bf056d288125414f961d5949ee5e13fbe0fea0 /arch | |
parent | 1236cd2bad8bc9038af90830cf017c770fdba03c (diff) | |
download | linux-8c2c596f8f453ffa6ef3bf14abc48a86b5431e56.tar.bz2 |
arm64: entry: remove unused register aliases
In commit:
3b7142752e4bee15 ("arm64: convert native/compat syscall entry to C")
... we moved the syscall invocation code from assembly to C, but left
behind a number of register aliases which are now unused.
Let's remove them before they confuse someone.
Cc: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/kernel/entry.S | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S index 763f03dc4d9e..0ec0c46b2c0c 100644 --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S @@ -392,17 +392,7 @@ alternative_insn eret, nop, ARM64_UNMAP_KERNEL_AT_EL0 mov sp, x19 .endm -/* - * These are the registers used in the syscall handler, and allow us to - * have in theory up to 7 arguments to a function - x0 to x6. - * - * x7 is reserved for the system call number in 32-bit mode. - */ -wsc_nr .req w25 // number of system calls -xsc_nr .req x25 // number of system calls (zero-extended) -wscno .req w26 // syscall number -xscno .req x26 // syscall number (zero-extended) -stbl .req x27 // syscall table pointer +/* GPRs used by entry code */ tsk .req x28 // current thread_info /* |