Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 40c8c17 in mainline for kernel/arch/ia64/src/mm/frame.c


Ignore:
Timestamp:
2011-11-26T21:37:40Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
38ff925
Parents:
056ddc30
Message:

Replace multiple definitions of last_frame with config.physmem_end.
Do not duplicate code which calculates the end of physical memory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/mm/frame.c

    r056ddc30 r40c8c17  
    5151#define MINCONF 1
    5252
    53 // XXX: remove me
    54 uintptr_t last_frame = 0;
    55 
    5653static void frame_common_arch_init(bool low)
    5754{
     
    6865                if (size > FRAME_SIZE)
    6966                        size -= abase - base;
    70 
    71                 // FIXME: remove me
    72                 if (abase + size > last_frame)
    73                         last_frame = abase + size;
    7467
    7568                if (!frame_adjust_zone_bounds(low, &abase, &size))
Note: See TracChangeset for help on using the changeset viewer.