i386: Rename enum CacheType members
commit5f00335aecafc9ad56592d943619d3252f8941f1
authorEduardo Habkost <ehabkost@redhat.com>
Tue, 17 Jul 2018 19:40:10 +0000 (17 16:40 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 23 Jul 2018 15:56:19 +0000 (23 12:56 -0300)
treee4f7552ab1793db171da4c53502976701764b811
parent9ba7dd14355bb7957680d5ef764471ab102df099
i386: Rename enum CacheType members

Rename DCACHE to DATA_CACHE and ICACHE to INSTRUCTION_CACHE.
This avoids conflict with Linux asm/cachectl.h macros and fixes
build failure on mips hosts.

Reported-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20180717194010.30096-1-ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.c
target/i386/cpu.h