1. 02 4月, 2011 6 次提交
  2. 01 4月, 2011 18 次提交
  3. 31 3月, 2011 2 次提交
    • T
      sparc32: Pass task_struct to schedule_tail() in ret_from_fork · 47c7c97a
      Tkhai Kirill 提交于
      We have to pass task_struct of previous process to function
      schedule_tail(). Currently in ret_from_fork previous thread_info
      is passed:
      
      switch_to: mov %g6, %g3 /* previous thread_info in g6 */
      
      ret_from_fork: call    schedule_tail
                      mov    %g3, %o0 /* previous thread_info is passed */
      
      void schedule_tail(struct task_struct *prev);
      Signed-off-by: NTkhai Kirill <tkhai@yandex.ru>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      47c7c97a
    • D
      sparc64: Fix section mis-match errors. · 3628aa06
      David S. Miller 提交于
      Fix all of the problems spotted by CONFIG_DEBUG_SECTION_MISMATCH under
      arch/sparc during a 64-bit defconfig build.
      
      They fall into two categorites:
      
      1) of_device_id is marked as __initdata, and we can never do this
         since these objects sit in the device core data structures way
         past boot.  So even if a driver will never be reloaded, we have
         to keep the device ID table around.
      
         Mark such cases const instead.
      
      2) The bootmem alloc/free handling code in mdesc.c was not fully
         marked __init as it should be, thus generating a reference
         to free_bootmem_late() (which is __init) from non-__init code.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3628aa06
  4. 30 3月, 2011 14 次提交