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

From: Arnd Bergmann
Date: Wed Feb 16 2022 - 08:06:50 EST


On Mon, Feb 14, 2022 at 6:06 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> > 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