Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99369
b: refs/heads/master
c: 4e50e62
h: refs/heads/master
i:
  99367: e1bd5bd
v: v3
  • Loading branch information
Jan Beulich authored and Thomas Gleixner committed May 25, 2008
1 parent 4bb7411 commit 5fdb435
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 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: 6a1673ae2201931ce34bf7ba9f90928c864d8334
refs/heads/master: 4e50e62ce52f39b5f45e82f68b18254458b429bb
13 changes: 0 additions & 13 deletions trunk/arch/x86/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,17 +571,6 @@ void __init mem_init(void)
#endif
bad_ppro = ppro_with_ram_bug();

#ifdef CONFIG_HIGHMEM
/* check that fixmap and pkmap do not overlap */
if (PKMAP_BASE + LAST_PKMAP*PAGE_SIZE >= FIXADDR_START) {
printk(KERN_ERR
"fixmap and kmap areas overlap - this will crash\n");
printk(KERN_ERR "pkstart: %lxh pkend: %lxh fixstart %lxh\n",
PKMAP_BASE, PKMAP_BASE + LAST_PKMAP*PAGE_SIZE,
FIXADDR_START);
BUG();
}
#endif
/* this will put all low memory onto the freelists */
totalram_pages += free_all_bootmem();

Expand Down Expand Up @@ -614,7 +603,6 @@ void __init mem_init(void)
(unsigned long) (totalhigh_pages << (PAGE_SHIFT-10))
);

#if 1 /* double-sanity-check paranoia */
printk(KERN_INFO "virtual kernel memory layout:\n"
" fixmap : 0x%08lx - 0x%08lx (%4ld kB)\n"
#ifdef CONFIG_HIGHMEM
Expand Down Expand Up @@ -655,7 +643,6 @@ void __init mem_init(void)
#endif
BUG_ON(VMALLOC_START > VMALLOC_END);
BUG_ON((unsigned long)high_memory > VMALLOC_START);
#endif /* double-sanity-check paranoia */

if (boot_cpu_data.wp_works_ok < 0)
test_wp_bit();
Expand Down

0 comments on commit 5fdb435

Please sign in to comment.