[PATCH] More BUG_ON conversion
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: James Bottomley <James.Bottomley@steeleye.com> Acked-by: "Salyzyn, Mark" <mark_salyzyn@adaptec.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
78ce89c92b
commit
125e18745f
@ -814,7 +814,7 @@ void __init setup_arch(char **cmdline_p)
|
||||
* - by now the stack is part of the init task */
|
||||
printk("Memory %08lx-%08lx\n", memory_start, memory_end);
|
||||
|
||||
if (memory_start == memory_end) BUG();
|
||||
BUG_ON(memory_start == memory_end);
|
||||
|
||||
init_mm.start_code = (unsigned long) &_stext;
|
||||
init_mm.end_code = (unsigned long) &_etext;
|
||||
|
Reference in New Issue
Block a user