Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38328
b: refs/heads/master
c: 8d8f3cb
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Oct 3, 2006
1 parent 45134c2 commit bc7f979
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 644c12d7f695c0a30662ac781b0f06f79d7f9bab
refs/heads/master: 8d8f3cbe777e014123bfa63f2cebd6eb29032225
3 changes: 1 addition & 2 deletions trunk/arch/i386/kernel/cpu/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -669,8 +669,7 @@ void __cpuinit cpu_init(void)
*/
atomic_inc(&init_mm.mm_count);
current->active_mm = &init_mm;
if (current->mm)
BUG();
BUG_ON(current->mm);
enter_lazy_tlb(&init_mm, current);

load_esp0(t, thread);
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/i386/kernel/efi.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,7 @@ void __init efi_enter_virtual_mode(void)
check_range_for_systab(md);
}

if (!efi.systab)
BUG();
BUG_ON(!efi.systab);

status = phys_efi_set_virtual_address_map(
memmap.desc_size * memmap.nr_map,
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/i386/mm/discontig.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ static void __init find_max_pfn_node(int nid)
*/
if (node_start_pfn[nid] > max_pfn)
node_start_pfn[nid] = max_pfn;
if (node_start_pfn[nid] > node_end_pfn[nid])
BUG();
BUG_ON(node_start_pfn[nid] > node_end_pfn[nid]);
}

/*
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/i386/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,7 @@ void __init mem_init(void)
int bad_ppro;

#ifdef CONFIG_FLATMEM
if (!mem_map)
BUG();
BUG_ON(!mem_map);
#endif

bad_ppro = ppro_with_ram_bug();
Expand Down

0 comments on commit bc7f979

Please sign in to comment.