kernel: Fix bus_dmamem_alloc()
authorFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 2 Aug 2013 17:02:55 +0000 (19:02 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 2 Aug 2013 17:07:14 +0000 (19:07 +0200)
commit7eb97ba2a602e79388aa3b1e5d7ce1d822bf06b7
tree60af9aa81b1bb6cc73ca2c4ca85ab76274da231e
parente264b12a45f93b70974f5422101f1839067d5114
kernel: Fix bus_dmamem_alloc()

Its call to pmap_change_attr() contained a typo which caused kernel
panics on some machines.

Reported-by: Markus Pfeiffer
With-advice-from: Venkatesh Srinivas
sys/platform/pc64/x86_64/busdma_machdep.c