Re: sparsemem support for mips with highmem

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

 



On Fri, 2008-08-15 at 11:17 -0700, C Michael Sundius wrote:
> 
> diff --git a/include/asm-mips/sparsemem.h
> b/include/asm-mips/sparsemem.h
> index 795ac6c..64376db 100644
> --- a/include/asm-mips/sparsemem.h
> +++ b/include/asm-mips/sparsemem.h
> @@ -6,7 +6,7 @@
>   * SECTION_SIZE_BITS           2^N: how big each section will be
>   * MAX_PHYSMEM_BITS            2^N: how much memory we can have in
> that space
>   */
> -#define SECTION_SIZE_BITS       28
> +#define SECTION_SIZE_BITS       27     /* 128 MiB */
>  #define MAX_PHYSMEM_BITS        35

This looks great to me, as long as the existing MIPS users like it.

-- Dave



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

  Powered by Linux