summaryrefslogtreecommitdiff
path: root/src/dev/mips/malta_cchip.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/mips/malta_cchip.cc')
-rwxr-xr-xsrc/dev/mips/malta_cchip.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/mips/malta_cchip.cc b/src/dev/mips/malta_cchip.cc
index 5a4ea4585..265977665 100755
--- a/src/dev/mips/malta_cchip.cc
+++ b/src/dev/mips/malta_cchip.cc
@@ -103,7 +103,7 @@ MaltaCChip::read(PacketPtr pkt)
break;
case TSDEV_CC_MISC:
pkt->set((ipint << 8) & 0xF | (itint << 4) & 0xF |
- (pkt->req->getCpuNum() & 0x3));
+ (pkt->req->contextId() & 0x3));
break;
case TSDEV_CC_AAR0:
case TSDEV_CC_AAR1: