commit | 80a03e29164c76b70e6dbb1d10515820cc24487a | [log] [tgz] |
---|---|---|
author | Stoyan Gaydarov <stoyboyker@gmail.com> | Tue Mar 10 00:10:30 2009 -0500 |
committer | Tony Luck <tony.luck@intel.com> | Wed Apr 01 09:50:48 2009 -0700 |
tree | ee9426ae7b76777169079e7120a8413384f128b6 | |
parent | ebf7649a4c6d37ce24c143001125cf29cc0bcf6a [diff] [blame] |
[IA64] BUG to BUG_ON changes Replace: if (test) BUG(); with BUG_ON(test); Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 8503d53..c0f3bee 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c
@@ -636,8 +636,7 @@ #endif #ifdef CONFIG_FLATMEM - if (!mem_map) - BUG(); + BUG_ON(!mem_map); max_mapnr = max_low_pfn; #endif