[PATCH 15/25] [cris] BUG to BUG_ON changes

From: Stoyan Gaydarov
Date: Tue Mar 10 2009 - 01:16:42 EST


Signed-off-by: Stoyan Gaydarov <stoyboyker@xxxxxxxxx>
---
arch/cris/mm/init.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c
index 2fdd212..514f46a 100644
--- a/arch/cris/mm/init.c
+++ b/arch/cris/mm/init.c
@@ -25,8 +25,7 @@ mem_init(void)
int codesize, reservedpages, datasize, initsize;
unsigned long tmp;

- if(!mem_map)
- BUG();
+ BUG_ON(!mem_map);

/* max/min_low_pfn was set by setup.c
* now we just copy it to some other necessary places...
--
1.6.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/