ia64/xen-unstable

view xen/arch/ia64/patch/linux-2.6.11/mm_contig.c @ 4703:d061c29af8d7

bitkeeper revision 1.1327.1.11 (42716283nLvDhTYM3QOqDMa-wZuJHQ)

More code cleanup
author djm@kirby.fc.hp.com
date Thu Apr 28 22:24:03 2005 +0000 (2005-04-28)
parents 58efb3448933
children ba75d06d25c5
line source
1 --- ../../linux-2.6.11/arch/ia64/mm/contig.c 2005-03-02 00:37:55.000000000 -0700
2 +++ arch/ia64/mm_contig.c 2005-04-28 16:13:52.000000000 -0600
3 @@ -35,6 +35,7 @@
4 *
5 * Just walks the pages in the system and describes where they're allocated.
6 */
7 +#ifndef XEN
8 void
9 show_mem (void)
10 {
11 @@ -63,6 +64,7 @@
12 printk("%d pages swap cached\n", cached);
13 printk("%ld pages in page table cache\n", pgtable_cache_size);
14 }
15 +#endif
17 /* physical address where the bootmem map is located */
18 unsigned long bootmap_start;
19 @@ -140,6 +142,7 @@
20 * Walk the EFI memory map and find usable memory for the system, taking
21 * into account reserved areas.
22 */
23 +#ifndef XEN
24 void
25 find_memory (void)
26 {
27 @@ -168,6 +171,7 @@
29 find_initrd();
30 }
31 +#endif
33 #ifdef CONFIG_SMP
34 /**
35 @@ -225,6 +229,7 @@
36 * Set up the page tables.
37 */
39 +#ifndef XEN
40 void
41 paging_init (void)
42 {
43 @@ -297,3 +302,4 @@
44 #endif /* !CONFIG_VIRTUAL_MEM_MAP */
45 zero_page_memmap_ptr = virt_to_page(ia64_imva(empty_zero_page));
46 }
47 +#endif /* !CONFIG_XEN */