Re: [PATCH] MIPS: Fix VGA_MAP_MEM macro.

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

 



On Tue, Sep 10, 2013 at 07:36:04PM -0500, Steven J. Hill wrote:

> diff --git a/arch/mips/include/asm/vga.h b/arch/mips/include/asm/vga.h
> index f4cff7e..4795206 100644
> --- a/arch/mips/include/asm/vga.h
> +++ b/arch/mips/include/asm/vga.h
> @@ -13,7 +13,7 @@
>   *	access the videoram directly without any black magic.
>   */
>  
> -#define VGA_MAP_MEM(x, s)	(0xb0000000L + (unsigned long)(x))
> +#define VGA_MAP_MEM(x, s)	CKSEG1ADDR(0x10000000L + (unsigned long)(x))

If using an addrspace.h macro better include that header file!  I've
fixed that.

Applied.  Thanks!

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux