diff options
author | kn <kn@cvs.openbsd.org> | 2020-01-01 14:56:13 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2020-01-01 14:56:13 +0000 |
commit | c06cb1d3e4dd1a7b3ca43d3d03bee02b2efccfba (patch) | |
tree | 22032cde77099bc550abe746e0093d2730099cee /sys/arch/sparc64/dev | |
parent | 779e4f65973daba8fde30fc0bcb8f306807aeec7 (diff) |
Unbreak DEBUG build: do not use undefined pa
introduced iommu_dvmamap_insert() using an undefined paddr_t pa under DEBUG;
since it cannot be introduced it (easily), remove it from the printf().
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/iommu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c index 4f2df38d3a9..bb471a89fb2 100644 --- a/sys/arch/sparc64/dev/iommu.c +++ b/sys/arch/sparc64/dev/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.78 2020/01/01 14:51:51 kn Exp $ */ +/* $OpenBSD: iommu.c,v 1.79 2020/01/01 14:56:12 kn Exp $ */ /* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */ /* @@ -1132,8 +1132,8 @@ iommu_dvmamap_insert(bus_dma_tag_t t, bus_dmamap_t map, #ifdef DEBUG if (trunc_page(sgstart) != trunc_page(sgend)) { printf("append range crossing page boundary! " - "pa %lx length %ld/0x%lx sgstart %lx sgend %lx\n", - pa, length, length, sgstart, sgend); + "length %ld/0x%lx sgstart %lx sgend %lx\n", + length, length, sgstart, sgend); } #endif |