summaryrefslogtreecommitdiff
path: root/arch/c6x/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/c6x/mm/init.c')
-rw-r--r--arch/c6x/mm/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/c6x/mm/init.c b/arch/c6x/mm/init.c
index e83c04654238..fe582c3a1794 100644
--- a/arch/c6x/mm/init.c
+++ b/arch/c6x/mm/init.c
@@ -40,6 +40,9 @@ void __init paging_init(void)
empty_zero_page = (unsigned long) memblock_alloc(PAGE_SIZE,
PAGE_SIZE);
+ if (!empty_zero_page)
+ panic("%s: Failed to allocate %lu bytes align=0x%lx\n",
+ __func__, PAGE_SIZE, PAGE_SIZE);
/*
* Set up user data space