ia64/xen-unstable
changeset 4879:111c0b539b79
bitkeeper revision 1.1389.1.46 (4283631eUmC8xxb4Luie9Aq6MS5-dA)
setup_arch_post.h, setup.c:
Clenup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
setup_arch_post.h, setup.c:
Clenup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk |
---|---|
date | Thu May 12 14:07:26 2005 +0000 (2005-05-12) |
parents | 6abbf2bf89c0 |
children | afa3a2c51d40 |
files | linux-2.6.11-xen-sparse/arch/xen/i386/kernel/setup.c linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mach-xen/setup_arch_post.h |
line diff
1.1 --- a/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/setup.c Thu May 12 14:00:28 2005 +0000 1.2 +++ b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/setup.c Thu May 12 14:07:26 2005 +0000 1.3 @@ -289,9 +289,9 @@ static void __init probe_roms(void) 1.4 unsigned char *rom; 1.5 int i; 1.6 1.7 - /* Nothing to do if not running in dom0. */ 1.8 - if ( !(xen_start_info.flags & SIF_INITDOMAIN) ) 1.9 - return; 1.10 + /* Nothing to do if not running in dom0. */ 1.11 + if (!(xen_start_info.flags & SIF_INITDOMAIN)) 1.12 + return; 1.13 1.14 /* video rom */ 1.15 upper = adapter_rom_resources[0].start; 1.16 @@ -1217,9 +1217,9 @@ static void __init register_memory(void) 1.17 else 1.18 legacy_init_iomem_resources(&code_resource, &data_resource); 1.19 1.20 - if ( xen_start_info.flags & SIF_INITDOMAIN ) 1.21 - /* EFI systems may still have VGA */ 1.22 - request_resource(&iomem_resource, &video_ram_resource); 1.23 + if (xen_start_info.flags & SIF_INITDOMAIN) 1.24 + /* EFI systems may still have VGA */ 1.25 + request_resource(&iomem_resource, &video_ram_resource); 1.26 1.27 /* request I/O space for devices used on all i[345]86 PCs */ 1.28 for (i = 0; i < STANDARD_IO_RESOURCES; i++)
2.1 --- a/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mach-xen/setup_arch_post.h Thu May 12 14:00:28 2005 +0000 2.2 +++ b/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mach-xen/setup_arch_post.h Thu May 12 14:07:26 2005 +0000 2.3 @@ -13,12 +13,12 @@ static char * __init machine_specific_me 2.4 2.5 who = "Xen"; 2.6 2.7 - /* In dom0, we have to start the fake e820 map above the first 1MB, in 2.8 - * other domains, it can start at 0. */ 2.9 - if ( xen_start_info.flags & SIF_INITDOMAIN ) 2.10 - start_pfn = 0x100; 2.11 - else 2.12 - start_pfn = 0; 2.13 + /* In dom0, we have to start the fake e820 map above the first 2.14 + * 1MB, in other domains, it can start at 0. */ 2.15 + if (xen_start_info.flags & SIF_INITDOMAIN) 2.16 + start_pfn = 0x100; 2.17 + else 2.18 + start_pfn = 0; 2.19 max_pfn = xen_start_info.nr_pages; 2.20 2.21 e820.nr_map = 0;