From ddf23aa842f17afcb0e9bfd88bfad20f6431d0a3 Mon Sep 17 00:00:00 2001 From: Andrew Gallatin Date: Thu, 21 Mar 2002 18:48:00 +0000 Subject: [PATCH] shut up the compiler --- sys/alpha/pci/t2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/alpha/pci/t2.c b/sys/alpha/pci/t2.c index 508bc7e94cc..c9fd3e2dd1a 100644 --- a/sys/alpha/pci/t2.c +++ b/sys/alpha/pci/t2.c @@ -337,7 +337,7 @@ t2_probe(device_t dev) device_printf(dev, "using interrupt type %d on pci bus 0\n", pci_int_type[0]); - if (!badaddr((void *)&t2_csr[1]->tlbbr, sizeof(long))) { + if (!badaddr(__DEVOLATILE(void *, &t2_csr[1]->tlbbr), sizeof(long))) { pci_int_type[1] = 1; /* PCI1 always uses the new scheme */ /* Clear any errors that the BADADDR probe may have caused */ t2_csr[1]->cerr1 |= t2_csr[1]->cerr1;