diff options
Diffstat (limited to 'kern/linux/linux_system.cc')
-rw-r--r-- | kern/linux/linux_system.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/linux/linux_system.cc b/kern/linux/linux_system.cc index 8c57ce29c..3f360efdd 100644 --- a/kern/linux/linux_system.cc +++ b/kern/linux/linux_system.cc @@ -92,7 +92,7 @@ LinuxSystem::LinuxSystem(Params *p) char *dp264_mv = (char *)physmem->dma_addr(paddr, sizeof(uint64_t)); if (dp264_mv) { - *(uint32_t*)(dp264_mv+0x18) = htoa((uint32_t)127); + *(uint32_t*)(dp264_mv+0x18) = htog((uint32_t)127); } else panic("could not translate dp264_mv addr\n"); |