projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15f7176
)
BUG to BUG_ON changes
author
Stoyan Gaydarov
<stoyboyker@gmail.com>
Tue, 10 Mar 2009 05:10:40 +0000
(06:10 +0100)
committer
Jesper Nilsson
<jesper.nilsson@axis.com>
Thu, 2 Apr 2009 11:56:04 +0000
(13:56 +0200)
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/mm/init.c
patch
|
blob
|
history
diff --git
a/arch/cris/mm/init.c
b/arch/cris/mm/init.c
index
2fdd212
..
514f46a
100644
(file)
--- 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...