diff options
Diffstat (limited to 'src/arch/generic/linux')
-rw-r--r-- | src/arch/generic/linux/threadinfo.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/generic/linux/threadinfo.hh b/src/arch/generic/linux/threadinfo.hh index 89db36a30..1595da499 100644 --- a/src/arch/generic/linux/threadinfo.hh +++ b/src/arch/generic/linux/threadinfo.hh @@ -87,7 +87,7 @@ class ThreadInfo addr = tc->readMiscRegNoEffect(TheISA::CurThreadInfoReg); PortProxy &p = tc->getPhysProxy(); - p.readBlob(addr, (uint8_t *)&sp, sizeof(Addr)); + p.readBlob(addr, &sp, sizeof(Addr)); return sp & ~ULL(0x3fff); } |