diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-04-01 14:56:37 +0200 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-04-06 15:12:58 +0200 |
commit | 04324f44cb69a03fdc8f2ee52386a4fdf6a0043b (patch) | |
tree | 86fb953a6810ec203a39019017349f5b58719cab /arch/mips/kernel/scall32-o32.S | |
parent | MIPS: uaccess: Remove get_fs/set_fs call sites (diff) | |
download | linux-04324f44cb69a03fdc8f2ee52386a4fdf6a0043b.tar.xz linux-04324f44cb69a03fdc8f2ee52386a4fdf6a0043b.zip |
MIPS: Remove get_fs/set_fs
All get_fs/set_fs calls in MIPS code are gone, so remove implementation
of it. With the clear separation of user/kernel space access we no
longer need the EVA special handling, so get rid of that, too.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/mips/kernel/scall32-o32.S')
-rw-r--r-- | arch/mips/kernel/scall32-o32.S | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/kernel/scall32-o32.S b/arch/mips/kernel/scall32-o32.S index 84e8624e83a2..b1b2e106f711 100644 --- a/arch/mips/kernel/scall32-o32.S +++ b/arch/mips/kernel/scall32-o32.S @@ -48,10 +48,8 @@ NESTED(handle_sys, PT_SIZE, sp) * We intentionally keep the kernel stack a little below the top of * userspace so we don't have to do a slower byte accurate check here. */ - lw t5, TI_ADDR_LIMIT($28) addu t4, t0, 32 - and t5, t4 - bltz t5, bad_stack # -> sp is bad + bltz t4, bad_stack # -> sp is bad /* * Ok, copy the args from the luser stack to the kernel stack. |