projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9be79d
)
Sparc32: remove a variable used only for debugging to avoid a clang warning
author
Blue Swirl
<blauwirbel@gmail.com>
Wed, 13 Jan 2010 18:55:11 +0000
(18:55 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Wed, 13 Jan 2010 18:55:11 +0000
(18:55 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/iommu.c
patch
|
blob
|
history
diff --git
a/hw/iommu.c
b/hw/iommu.c
index 4151022de35349ce6fa7c59da75949cf16f04050..0cd2ed00e3769f21a096abc5b71f5849a03d1f3c 100644
(file)
--- a/
hw/iommu.c
+++ b/
hw/iommu.c
@@
-272,13
+272,11
@@
static uint32_t iommu_page_get_flags(IOMMUState *s, target_phys_addr_t addr)
static target_phys_addr_t iommu_translate_pa(target_phys_addr_t addr,
uint32_t pte)
{
- uint32_t tmppte;
target_phys_addr_t pa;
- tmppte = pte;
pa = ((pte & IOPTE_PAGE) << 4) + (addr & ~IOMMU_PAGE_MASK);
DPRINTF("xlate dva " TARGET_FMT_plx " => pa " TARGET_FMT_plx
- " (iopte = %x)\n", addr, pa,
tmp
pte);
+ " (iopte = %x)\n", addr, pa, pte);
return pa;
}