1. 12 9月, 2013 1 次提交
  2. 31 10月, 2011 1 次提交
  3. 12 1月, 2009 1 次提交
  4. 11 1月, 2009 2 次提交
    • I
      smp_call_function_single(): be slightly less stupid, fix · 93423b86
      Ingo Molnar 提交于
      Impact: build fix on Alpha
      
       kernel/up.c: In function 'smp_call_function_single':
       kernel/up.c:12: error: 'cpuid' undeclared (first use in this function)
       kernel/up.c:12: error: (Each undeclared identifier is reported only once
       kernel/up.c:12: error: for each function it appears in.)
      
      The typo didnt show up on x86 because 'cpuid' happens to be a
      function address as well ...
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      93423b86
    • A
      smp_call_function_single(): be slightly less stupid · 53ce3d95
      Andrew Morton 提交于
      If you do
      
      	smp_call_function_single(expression-with-side-effects, ...)
      
      then expression-with-side-effects never gets evaluated on UP builds.
      
      As always, implementing it in C is the correct thing to do.
      
      While we're there, uninline it for size and possible header dependency
      reasons.
      
      And create a new kernel/up.c, as a place in which to put
      uniprocessor-specific code and storage.  It should mirror kernel/smp.c.
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      53ce3d95