Thread (61 messages) 61 messages, 12 authors, 2022-02-16

Re: [PATCH 11/14] sparc64: remove CONFIG_SET_FS support

From: Arnd Bergmann <arnd@kernel.org>
Date: 2022-02-16 13:06:53
Also in: linux-alpha, linux-api, linux-arm-kernel, linux-m68k, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, linuxppc-dev, lkml, sparclinux

On Mon, Feb 14, 2022 at 6:06 PM Christoph Hellwig [off-list ref] wrote:
quoted
 void prom_world(int enter)
 {
-     if (!enter)
-             set_fs(get_fs());
-
      __asm__ __volatile__("flushw");
 }
The enter argument is now unused.
Right, good point. I'll add a comment, but I think I will leave that
as this seems
too hard to change the callers in assembly code for this. If any
sparc64 developer
wants to clean that up, I'm happy to integrate the cleanup patch in my series.

         Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help