• Andrew Morton's avatar
    [PATCH] ppc64: cleanup lmb code · d3059cbc
    Andrew Morton authored
    From: Anton Blanchard <anton@samba.org>
    
    - remove LMB_MEMORY_AREA, LMB_IO_AREA, we only allocate/reserve memory
      areas now
    - remove lmb_property->type, lmb_region->iosize, lmb_region->lcd_size,
      no longer used
    - bump number of regions to 128, we'll hit this limit sooner or later
      with our big boxes (if we have more than 64 PCI host bridges the
      reserved array will fill up for example)
    - make all the lmb stuff __init
    - no need to explicitly zero struct lmb lmb now we zero the BSS early
    - we had two functions to dump the lmb array, kill one of them
    - move the inline functions into lmb.c, they are only ever called from
      there
    d3059cbc
numa.c 8.06 KB