lkml.org 
[lkml]   [2015]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 13/15] MIPS: malta: remove nonsense memory limit
    Date
    This cap of Malta memory size to 0x7fff0000 was added by commit
    e6ca4e5bf114 "MIPS: malta: malta-memory: Add support for the 'ememsize'
    variable" as part of support for EVA, with only the cryptic comment
    "Last 64K for HIGHMEM arithmetics". However

    - EVA is used to avoid highmem, both are not enabled at once which
    makes the comment about highmem macros nonsensical.

    - I can think of no good reason for it, and nor could anyone else I
    asked.

    So remove this memsize limit.

    Signed-off-by: Paul Burton <paul.burton@imgtec.com>
    ---

    arch/mips/mti-malta/malta-memory.c | 4 ----
    1 file changed, 4 deletions(-)

    diff --git a/arch/mips/mti-malta/malta-memory.c b/arch/mips/mti-malta/malta-memory.c
    index 5660cd6..831f583 100644
    --- a/arch/mips/mti-malta/malta-memory.c
    +++ b/arch/mips/mti-malta/malta-memory.c
    @@ -94,10 +94,6 @@ void __init fw_meminit(void)
    else
    memsize = physical_memsize;

    - /* Last 64K for HIGHMEM arithmetics */
    - if (memsize > 0x7fff0000)
    - memsize = 0x7fff0000;
    -
    add_memory_region(PHYS_OFFSET, 0x00001000, BOOT_MEM_RESERVED);

    /*
    --
    2.4.1


    \
     
     \ /
      Last update: 2015-05-22 18:41    [W:4.442 / U:0.568 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site