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

From: Jesper Nilsson
Date: Thu Apr 02 2009 - 07:57:23 EST


On Tue, Mar 10, 2009 at 06:10:40AM +0100, Stoyan Gaydarov wrote:
> 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

Thanks, adding it to the CRIS tree.

/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@xxxxxxxx
--
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/