Re: + kconfigurable-resources-arch-dependent-changes-arch-a-i.patchadded to -mm tree

From: KAMEZAWA Hiroyuki
Date: Thu May 11 2006 - 00:45:04 EST


On Wed, 10 May 2006 20:57:19 -0700
akpm@xxxxxxxx wrote:

> diff -puN arch/i386/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-a-i arch/i386/Kconfig
> --- devel/arch/i386/Kconfig~kconfigurable-resources-arch-dependent-changes-arch-a-i 2006-05-10 20:57:18.000000000 -0700
> +++ devel-akpm/arch/i386/Kconfig 2006-05-10 20:57:18.000000000 -0700
> @@ -754,6 +754,13 @@ config PHYSICAL_START
>
> Don't change this unless you know what you are doing.
>
> +config RESOURCES_32BIT
> + bool "32 bit Memory and IO resources (EXPERIMENTAL)"
> + depends on EXPERIMENTAL
> + help
> + By default resources are 64 bit. This option allows memory and IO
> + resources to be 32 bit to optimize code size.
> +

Could you modify
- depends on EXPERIMENTAL
- depends on EXPERIMENTAL && !X86_PAE ?

In legacy_init_iomem_resources()(/arch/i386/kernel/setup.c)

res->start = e820.map[i].addr;
res->end = res->start + e820.map[i].size - 1;

e820.map[i].addr is unsigned long long.

-Kame


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/