Skip to contentSkip to conversation

Build fix for -rc2

GIT PULL Applied Eduardo Habkost 2 participants 3 messages Jul 23, 2018 – Jul 24, 2018

lore
Share & tools
lore
#0 lore raw

The following changes since commit 9ba7dd14355bb7957680d5ef764471ab102df099:

Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2018-07-23' into staging (2018-07-23 15:15:46 +0100)

are available in the Git repository at:

git://github.com/ehabkost/qemu.git tags/x86-next-pull-request

for you to fetch changes up to 5f00335aecafc9ad56592d943619d3252f8941f1:

i386: Rename enum CacheType members (2018-07-23 12:56:19 -0300)

----------------------------------------------------------------
Fix for -rc2

* Fix build failure on mips host

----------------------------------------------------------------

Eduardo Habkost (1):
i386: Rename enum CacheType members

 target/i386/cpu.h |   4 +-
 target/i386/cpu.c | 128 +++++++++++++++++++++++-----------------------
 2 files changed, 66 insertions(+), 66 deletions(-)
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
#1 lore raw

[Qemu-devel] [PULL 1/1] 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.

Message-Id: <[email protected]>

---
 target/i386/cpu.h |   4 +-
 target/i386/cpu.c | 128 +++++++++++++++++++++++-----------------------
 2 files changed, 66 insertions(+), 66 deletions(-)
target/i386/cpu.h +2 -2
index 2c5a0d90a6..194e2e6b92 100644
@@ -1050,8 +1050,8 @@ typedef enum TPRAccess {
 /* Cache information data structures: */
 
 enum CacheType {
-    DCACHE,
-    ICACHE,
+    DATA_CACHE,
+    INSTRUCTION_CACHE,
     UNIFIED_CACHE
 };
 
target/i386/cpu.c +64 -64

239 lines not on this page · raw message

Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
#2 lore raw
In reply to Eduardo Habkost
Quoted 8 lines · Eduardo Habkost

The following changes since commit 9ba7dd14355bb7957680d5ef764471ab102df099:

Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2018-07-23' into staging (2018-07-23 15:15:46 +0100)

are available in the Git repository at:

git://github.com/ehabkost/qemu.git tags/x86-next-pull-request

Quoted 9 lines

for you to fetch changes up to 5f00335aecafc9ad56592d943619d3252f8941f1:

i386: Rename enum CacheType members (2018-07-23 12:56:19 -0300)

----------------------------------------------------------------
Fix for -rc2

* Fix build failure on mips host

Applied, thanks.

-- PMM