hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/arch/arm/mm/nommu.c
....@@ -161,7 +161,7 @@
161161 mpu_setup();
162162
163163 /* allocate the zero page. */
164
- zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE);
164
+ zero_page = (void *)memblock_alloc(PAGE_SIZE, PAGE_SIZE);
165165 if (!zero_page)
166166 panic("%s: Failed to allocate %lu bytes align=0x%lx\n",
167167 __func__, PAGE_SIZE, PAGE_SIZE);