diff options
author | Stoyan Gaydarov <stoyboyker@gmail.com> | 2009-03-10 06:10:30 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-04-01 18:50:48 +0200 |
commit | 80a03e29164c76b70e6dbb1d10515820cc24487a (patch) | |
tree | ee9426ae7b76777169079e7120a8413384f128b6 /arch/ia64/mm | |
parent | [IA64] Fix typo/thinko in arch/ia64/sn/kernel/sn2/sn2_smp.c (diff) | |
download | linux-80a03e29164c76b70e6dbb1d10515820cc24487a.tar.xz linux-80a03e29164c76b70e6dbb1d10515820cc24487a.zip |
[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>
Diffstat (limited to 'arch/ia64/mm')
-rw-r--r-- | arch/ia64/mm/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c index 8503d534794f..c0f3bee69042 100644 --- a/arch/ia64/mm/init.c +++ b/arch/ia64/mm/init.c @@ -636,8 +636,7 @@ mem_init (void) #endif #ifdef CONFIG_FLATMEM - if (!mem_map) - BUG(); + BUG_ON(!mem_map); max_mapnr = max_low_pfn; #endif |