Cast/format fix to make this build on 32bit kernels.

This commit is contained in:
martin 2002-02-12 20:50:47 +00:00
parent 56fb31996d
commit 1b4393c5db
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: psycho.c,v 1.41 2002/02/08 20:04:14 eeh Exp $ */ /* $NetBSD: psycho.c,v 1.42 2002/02/12 20:50:47 martin Exp $ */
/* /*
* Copyright (c) 1999, 2000 Matthew R. Green * Copyright (c) 1999, 2000 Matthew R. Green
@ -639,8 +639,8 @@ psycho_ue(arg)
/* Sometimes the AFAR points to an IOTSB entry */ /* Sometimes the AFAR points to an IOTSB entry */
if (afar >= is->is_ptsb && afar < is->is_ptsb + size) { if (afar >= is->is_ptsb && afar < is->is_ptsb + size) {
printf("IOVA %lx IOTTE %llx\n", printf("IOVA %llx IOTTE %llx\n",
(afar - is->is_ptsb) * NBPG + is->is_dvmabase, (long long)((afar - is->is_ptsb) * NBPG + is->is_dvmabase),
(long long)ldxa(afar, ASI_PHYS_CACHED)); (long long)ldxa(afar, ASI_PHYS_CACHED));
} }
Debugger(); Debugger();