1. 31 May, 2014 1 commit
  2. 26 Jul, 2013 1 commit
    • Russell King's avatar
      ARM: constify machine_desc structure uses · ff69a4c8
      Russell King authored
      struct machine_desc records are defined everywhere as a 'const'
      structure, but unfortuantely it loses its const-ness through the use of
      linker magic - the symbols which surround the section are not declared
      const so it becomes possible not to use 'const' for pointers to these
      const structures.
      Let's fix this oversight - all pointers to these structures should be
      marked const too.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
  3. 13 Jan, 2012 1 commit
    • Russell King's avatar
      ARM: Add arm_memblock_steal() to allocate memory away from the kernel · 716a3dc2
      Russell King authored
      Several platforms are now using the memblock_alloc+memblock_free+
      memblock_remove trick to obtain memory which won't be mapped in the
      kernel's page tables.  Most platforms do this (correctly) in the
      ->reserve callback.  However, OMAP has started to call these functions
      outside of this callback, and this is extremely unsafe - memory will
      not be unmapped, and could well be given out after memblock is no
      longer responsible for its management.
      So, provide arm_memblock_steal() to perform this function, and ensure
      that it panic()s if it is used inappropriately.  Convert everyone
      over, including OMAP.
      As a result, OMAP with OMAP4_ERRATA_I688 enabled will panic on boot
      with this change.  Mark this option as BROKEN and make it depend on
      BROKEN.  OMAP needs to be fixed, or 137d105d
       (ARM: OMAP4: Fix
      errata i688 with MPU interconnect barriers.) reverted until such
      time it can be fixed correctly.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
  4. 27 Oct, 2010 1 commit
  5. 27 Jul, 2010 2 commits