[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v22 17/17] i386: move cpu_load_efer into sysemu-only section
From: |
Richard Henderson |
Subject: |
Re: [PATCH v22 17/17] i386: move cpu_load_efer into sysemu-only section of cpu.h |
Date: |
Wed, 24 Feb 2021 20:28:36 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 2/24/21 5:34 AM, Claudio Fontana wrote:
> cpu_load_efer is now used only for sysemu code.
>
> Therefore, make this inline function not visible anymore
> in CONFIG_USER_ONLY builds.
>
> Signed-off-by: Claudio Fontana <cfontana@suse.de>
> ---
> target/i386/cpu.h | 31 ++++++++++++++++---------------
> 1 file changed, 16 insertions(+), 15 deletions(-)
Perhaps move to cpu-internal.h? It is not used outside of target/i386/.
Or declared in cpu-internal.h and placed in cpu-sysemu.c? I don't see that
it's particularly performance sensitive either.
But one way or the other,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- Re: [PATCH v22 10/17] i386: move TCG btp_helper into sysemu/, (continued)
- [PATCH v22 13/17] i386: split svm_helper into sysemu and stub-only user, Claudio Fontana, 2021/02/24
- [PATCH v22 12/17] i386: separate fpu_helper into user and sysemu parts, Claudio Fontana, 2021/02/24
- [PATCH v22 14/17] i386: split seg_helper into user-only and sysemu parts, Claudio Fontana, 2021/02/24
- [PATCH v22 11/17] i386: split misc helper into user and sysemu parts, Claudio Fontana, 2021/02/24
- [PATCH v22 17/17] i386: move cpu_load_efer into sysemu-only section of cpu.h, Claudio Fontana, 2021/02/24
- Re: [PATCH v22 17/17] i386: move cpu_load_efer into sysemu-only section of cpu.h,
Richard Henderson <=
- [PATCH v22 16/17] i386: gdbstub: only write CR0/CR2/CR3/EFER for SOFTMMU, Claudio Fontana, 2021/02/24
[PATCH v22 15/17] i386: split off sysemu part of cpu.c, Claudio Fontana, 2021/02/24
Re: [PATCH v22 00/17] i386 cleanup PART 2, no-reply, 2021/02/24