diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-06-23 05:06:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:43:08 -0400 |
commit | 125e18745f16685f69a34fd6130d47598fc4bf54 (patch) | |
tree | c97ed94b0525a572efa1bd4990a55b18be5d781d /arch/frv/kernel/setup.c | |
parent | 78ce89c92bc6eaf5933b5664bff64253a7103bd7 (diff) |
[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>
Diffstat (limited to 'arch/frv/kernel/setup.c')
-rw-r--r-- | arch/frv/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c index 5908deae9607..1f7d65f29e78 100644 --- a/arch/frv/kernel/setup.c +++ b/arch/frv/kernel/setup.c | |||
@@ -814,7 +814,7 @@ void __init setup_arch(char **cmdline_p) | |||
814 | * - by now the stack is part of the init task */ | 814 | * - by now the stack is part of the init task */ |
815 | printk("Memory %08lx-%08lx\n", memory_start, memory_end); | 815 | printk("Memory %08lx-%08lx\n", memory_start, memory_end); |
816 | 816 | ||
817 | if (memory_start == memory_end) BUG(); | 817 | BUG_ON(memory_start == memory_end); |
818 | 818 | ||
819 | init_mm.start_code = (unsigned long) &_stext; | 819 | init_mm.start_code = (unsigned long) &_stext; |
820 | init_mm.end_code = (unsigned long) &_etext; | 820 | init_mm.end_code = (unsigned long) &_etext; |