aboutsummaryrefslogtreecommitdiffstats
path: root/arch/openrisc/mm/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/openrisc/mm/init.c')
-rw-r--r--arch/openrisc/mm/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/openrisc/mm/init.c b/arch/openrisc/mm/init.c
index 359dcb20fe85..736f6b2f30af 100644
--- a/arch/openrisc/mm/init.c
+++ b/arch/openrisc/mm/init.c
@@ -222,8 +222,7 @@ void __init mem_init(void)
222{ 222{
223 int codesize, reservedpages, datasize, initsize; 223 int codesize, reservedpages, datasize, initsize;
224 224
225 if (!mem_map) 225 BUG_ON(!mem_map);
226 BUG();
227 226
228 set_max_mapnr_init(); 227 set_max_mapnr_init();
229 228