aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/mm
diff options
context:
space:
mode:
authorStoyan Gaydarov <stoyboyker@gmail.com>2009-03-10 01:10:40 -0400
committerJesper Nilsson <jesper.nilsson@axis.com>2009-04-02 07:56:04 -0400
commit59b97760771143a2e4221df1c517f915cdb303f7 (patch)
treec3c16aea7a99b78505b5b0cbd3263f85e42c31e2 /arch/cris/mm
parent15f7176eb1cccec0a332541285ee752b935c1c85 (diff)
BUG to BUG_ON changes
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com> Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/mm')
-rw-r--r--arch/cris/mm/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/cris/mm/init.c b/arch/cris/mm/init.c
index 2fdd212eb250..514f46a4b230 100644
--- a/arch/cris/mm/init.c
+++ b/arch/cris/mm/init.c
@@ -25,8 +25,7 @@ mem_init(void)
25 int codesize, reservedpages, datasize, initsize; 25 int codesize, reservedpages, datasize, initsize;
26 unsigned long tmp; 26 unsigned long tmp;
27 27
28 if(!mem_map) 28 BUG_ON(!mem_map);
29 BUG();
30 29
31 /* max/min_low_pfn was set by setup.c 30 /* max/min_low_pfn was set by setup.c
32 * now we just copy it to some other necessary places... 31 * now we just copy it to some other necessary places...