1. 12 2月, 2011 1 次提交
  2. 11 2月, 2011 1 次提交
  3. 01 2月, 2011 1 次提交
  4. 26 1月, 2011 1 次提交
  5. 15 1月, 2011 3 次提交
    • R
      ARM: fix missing branch in __error_a · cb4d3eae
      Russell King 提交于
      When DEBUG_LL is not set, we don't want __error_a re-entering
      __lookup_machine_type - we want it to go to the error function.  This
      used to be the case before we reorganized the layout for hotplug cpu,
      as we used to fall through to __error.  With the changed layout, we
      need an explicit branch here instead.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      cb4d3eae
    • R
      ARM: fix /proc/$PID/stack on SMP · d5996b2f
      Russell King 提交于
      Rabin Vincent reports:
      | On SMP, this BUG() in save_stack_trace_tsk() can be easily triggered
      | from user space by reading /proc/$PID/stack, where $PID is any pid but
      | the current process:
      |
      |	if (tsk != current) {
      | #ifdef CONFIG_SMP
      |		/*
      |		 * What guarantees do we have here that 'tsk'
      |		 * is not running on another CPU?
      |		 */
      |		BUG();
      | #else
      
      Fix this by replacing the BUG() with an entry to terminate the stack
      trace, returning an empty trace - I'd rather not expose the dwarf
      unwinder to a volatile stack of a running thread.
      Reported-by: NRabin Vincent <rabin@rab.in>
      Tested-by: NRabin Vincent <rabin@rab.in>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d5996b2f
    • D
      ARM: 6625/1: use memblock memory regions for "System RAM" I/O resources · 11b9369c
      Dima Zavin 提交于
      Do not use memory bank info to request the "system ram" resources as
      they do not track holes created by memblock_remove inside
      machine's reserve callback. If the removed memory is passed as
      platform_device's ioresource, then drivers that call
      request_mem_region would fail due to a conflict with the incorrectly
      configured system ram resource.
      
      Instead, iterate through the regions of memblock.memory and add
      those as "System RAM" resources.
      Signed-off-by: NDima Zavin <dima@android.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      11b9369c
  6. 14 1月, 2011 1 次提交
    • D
      mm: unify module_alloc code for vmalloc · d0a21265
      David Rientjes 提交于
      Four architectures (arm, mips, sparc, x86) use __vmalloc_area() for
      module_init().  Much of the code is duplicated and can be generalized in a
      globally accessible function, __vmalloc_node_range().
      
      __vmalloc_node() now calls into __vmalloc_node_range() with a range of
      [VMALLOC_START, VMALLOC_END) for functionally equivalent behavior.
      
      Each architecture may then use __vmalloc_node_range() directly to remove
      the duplication of code.
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Cc: Christoph Lameter <cl@linux.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: "H. Peter Anvin" <hpa@zytor.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d0a21265
  7. 13 1月, 2011 2 次提交
  8. 12 1月, 2011 4 次提交
  9. 11 1月, 2011 1 次提交
  10. 24 12月, 2010 5 次提交
  11. 23 12月, 2010 1 次提交
  12. 22 12月, 2010 2 次提交
  13. 21 12月, 2010 1 次提交
  14. 20 12月, 2010 16 次提交