Re: [PATCH] fix omap3 sram virtual addres overlap vmalloc space after increasing vmalloc size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 16 Jul 2009, Janboe Ye wrote:

> resend for mini coding style fixing
> 
> commit e85c205ac1427f2405021a36f083280ff0d0a35e increase vmalloc size.
> vmalloc space will overlap with OMAP3 sram virtual address.

Makes sense to me.  I'm not sure how we missed this in the original patch.

Reviewed-by: Paul Walmsley <paul@xxxxxxxxx>

- Paul

> 
> Signed-off-by: Li Hong Mei <hong-mei.li@xxxxxxxxxxxx>
> Signed-off-by: Janboe Ye <yuan-bo.ye@xxxxxxxxxxxx>
> ---
>  arch/arm/plat-omap/sram.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/plat-omap/sram.c b/arch/arm/plat-omap/sram.c
> index a2e60e7..755ccaa 100644
> --- a/arch/arm/plat-omap/sram.c
> +++ b/arch/arm/plat-omap/sram.c
> @@ -41,9 +41,9 @@
>  #define OMAP2_SRAM_VA          0xe3000000
>  #define OMAP2_SRAM_PUB_VA      (OMAP2_SRAM_VA + 0x800)
>  #define OMAP3_SRAM_PA           0x40200000
> -#define OMAP3_SRAM_VA           0xd7000000
> +#define OMAP3_SRAM_VA           0xe3000000
>  #define OMAP3_SRAM_PUB_PA       0x40208000
> -#define OMAP3_SRAM_PUB_VA       0xd7008000
> +#define OMAP3_SRAM_PUB_VA       (OMAP3_SRAM_VA + 0x8000)
> 
>  #if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)
>  #define SRAM_BOOTLOADER_SZ     0x00
> 


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux