qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC PATCH v0 01/15] ppc: Store dr entity state bits at the


From: Bharata B Rao
Subject: [Qemu-devel] [RFC PATCH v0 01/15] ppc: Store dr entity state bits at the right bit offset
Date: Thu, 4 Sep 2014 11:36:11 +0530

Signed-off-by: Bharata B Rao <address@hidden>
---
 hw/ppc/spapr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index c65b13a..47fc21d 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -367,7 +367,7 @@ sPAPRDrcEntry *spapr_add_phb_to_drc_table(uint64_t buid, 
uint32_t state)
 
     if (empty_drc) {
         empty_drc->phb_buid = buid;
-        empty_drc->state = state;
+        empty_drc->state = state << INDICATOR_ENTITY_SENSE_SHIFT;
         empty_drc->cc_state.fdt = NULL;
         empty_drc->cc_state.offset = 0;
         empty_drc->cc_state.depth = 0;
-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]