aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim/mmu_radix.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/aim/mmu_radix.c')
-rw-r--r--sys/powerpc/aim/mmu_radix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/mmu_radix.c b/sys/powerpc/aim/mmu_radix.c
index c053de38034a..6e2203ccca45 100644
--- a/sys/powerpc/aim/mmu_radix.c
+++ b/sys/powerpc/aim/mmu_radix.c
@@ -3686,7 +3686,7 @@ mmu_radix_init(void)
*/
s = (vm_size_t)(pv_npg * sizeof(struct md_page));
s = round_page(s);
- pv_table = (struct md_page *)kmem_malloc(s, M_WAITOK | M_ZERO);
+ pv_table = kmem_malloc(s, M_WAITOK | M_ZERO);
for (i = 0; i < pv_npg; i++)
TAILQ_INIT(&pv_table[i].pv_list);
TAILQ_INIT(&pv_dummy.pv_list);