summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authoreota <none@none>2006-04-28 13:11:16 -0700
committereota <none@none>2006-04-28 13:11:16 -0700
commitf11a0b63cd26993d174f40a91bc87c821204f98b (patch)
treee1ce07d3787d8b2f65db25945630ce56236f4450 /usr/src
parent7f58d7249497f31d23e7d0c4222d27998c8b0d38 (diff)
downloadillumos-joyent-f11a0b63cd26993d174f40a91bc87c821204f98b.tar.gz
6212057 ddi_dma_mem_alloc should be able to alloc with cache disable on x86 (fix lint)
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/i86pc/os/ddi_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/os/ddi_impl.c b/usr/src/uts/i86pc/os/ddi_impl.c
index 14703e7dfc..f73e6c4911 100644
--- a/usr/src/uts/i86pc/os/ddi_impl.c
+++ b/usr/src/uts/i86pc/os/ddi_impl.c
@@ -1476,10 +1476,10 @@ i_ddi_check_endian_attr(ddi_device_acc_attr_t *devaccp)
void
i_ddi_devacc_to_hatacc(ddi_device_acc_attr_t *devaccp, uint_t *hataccp)
{
+ static char *fname = "i_ddi_devacc_to_hatacc";
#if defined(lint)
*hataccp = *hataccp;
#endif
- static char *fname = "i_ddi_devacc_to_hatacc";
/*
* This case must not occur because the endianess is examined
* before this function is called.