1. 29 3月, 2011 2 次提交
    • A
      FRV: Do some cleanups · 5ca7202b
      Amerigo Wang 提交于
      1. frv doesn't support SMP, remove the useless SMP bits.
      
      2. frv has its own alloc_task_struct, so define __HAVE_ARCH_TASK_STRUCT_ALLOCATOR
         (I am not sure if frv should use generic alloc_task_struct().)
      Signed-off-by: NWANG Cong <amwang@redhat.com>
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      5ca7202b
    • D
      FRV: Missing node arg in alloc_thread_info_node() macro · 5ef9bdde
      David Howells 提交于
      There are two alloc_thread_info_node() macros defined (one for debugging and
      one for normal).  The commit that changed them most recently:
      
      	commit b6a84016
      	Author: Eric Dumazet <eric.dumazet@gmail.com>
      	Date:   Tue Mar 22 16:30:42 2011 -0700
      	Subject: mm: NUMA aware alloc_thread_info_node()
      
      didn't add the node argument into the macro argument list for the normal macro.
      This results in the following error:
      
      kernel/fork.c:267:39: error: macro "alloc_thread_info_node" passed 2 arguments, but takes just 1
      kernel/fork.c: In function 'dup_task_struct':
      kernel/fork.c:267: error: 'alloc_thread_info_node' undeclared (first use in this function)
      kernel/fork.c:267: error: (Each undeclared identifier is reported only once
      kernel/fork.c:267: error: for each function it appears in.)
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      5ef9bdde
  2. 26 3月, 2011 38 次提交