[PATCH 0/2] target/i386/cpu: Constify CPUCaches and X86CPUDefinition

Philippe Mathieu-Daudé posted 2 patches 2 years, 11 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210503173524.833052-1-philmd@redhat.com
target/i386/cpu.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
[PATCH 0/2] target/i386/cpu: Constify CPUCaches and X86CPUDefinition
Posted by Philippe Mathieu-Daudé 2 years, 11 months ago
X86CPUDefinition[] is never written, move it to .rodata section
by marking it const.

Philippe Mathieu-Daudé (2):
  target/i386/cpu: Constify CPUCaches
  target/i386/cpu: Constify X86CPUDefinition

 target/i386/cpu.c | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

-- 
2.26.3


Re: [PATCH 0/2] target/i386/cpu: Constify CPUCaches and X86CPUDefinition
Posted by Eduardo Habkost 2 years, 11 months ago
On Mon, May 03, 2021 at 07:35:22PM +0200, Philippe Mathieu-Daudé wrote:
> X86CPUDefinition[] is never written, move it to .rodata section
> by marking it const.
> 
> Philippe Mathieu-Daudé (2):
>   target/i386/cpu: Constify CPUCaches
>   target/i386/cpu: Constify X86CPUDefinition

Queued, thanks!

-- 
Eduardo