Re: [PATCH for 6.2 22/49] bsd-user: Move per-cpu code into target_arch_cpu.h

2021-08-08 Thread Warner Losh
On Sun, Aug 8, 2021 at 12:16 AM Richard Henderson < richard.hender...@linaro.org> wrote: > On 8/7/21 8:03 PM, Warner Losh wrote: > > > > > > On Sat, Aug 7, 2021 at 11:35 PM Richard Henderson < > richard.hender...@linaro.org > > > wrote: > > > > On 8/7/21 11

Re: [PATCH for 6.2 22/49] bsd-user: Move per-cpu code into target_arch_cpu.h

2021-08-07 Thread Richard Henderson
On 8/7/21 8:03 PM, Warner Losh wrote: On Sat, Aug 7, 2021 at 11:35 PM Richard Henderson > wrote: On 8/7/21 11:42 AM, Warner Losh wrote: > diff --git a/bsd-user/i386/target_arch_cpu.c b/bsd-user/i386/target_arch_cpu.c > index 7f2f755a11..7199

Re: [PATCH for 6.2 22/49] bsd-user: Move per-cpu code into target_arch_cpu.h

2021-08-07 Thread Warner Losh
On Sat, Aug 7, 2021 at 11:35 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 8/7/21 11:42 AM, Warner Losh wrote: > > diff --git a/bsd-user/i386/target_arch_cpu.c > b/bsd-user/i386/target_arch_cpu.c > > index 7f2f755a11..71998e5ba5 100644 > > --- a/bsd-user/i386/target_arch_cpu.c >

Re: [PATCH for 6.2 22/49] bsd-user: Move per-cpu code into target_arch_cpu.h

2021-08-07 Thread Richard Henderson
On 8/7/21 11:42 AM, Warner Losh wrote: diff --git a/bsd-user/i386/target_arch_cpu.c b/bsd-user/i386/target_arch_cpu.c index 7f2f755a11..71998e5ba5 100644 --- a/bsd-user/i386/target_arch_cpu.c +++ b/bsd-user/i386/target_arch_cpu.c @@ -1,6 +1,7 @@ /* * i386 cpu related code * + * Copyright

[PATCH for 6.2 22/49] bsd-user: Move per-cpu code into target_arch_cpu.h

2021-08-07 Thread Warner Losh
From: Warner Losh Move cpu_loop() into target_cpu_loop(), and put that in target_arch_cpu.h for each architecture. Signed-off-by: Stacey Son Signed-off-by: Warner Losh --- bsd-user/i386/target_arch_cpu.c | 1 + bsd-user/i386/target_arch_cpu.h | 306 bsd-user