1. 10 11月, 2007 4 次提交
    • D
      FRV: Remove the section annotation on free_initmem() · e4fc5a1a
      David Howells 提交于
      Remove the section annotation on FRV's free_initmem().  It can't be marked
      __init, lest it free itself.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      e4fc5a1a
    • I
      x86: make nmi_cpu_busy() always defined · 0492007e
      Ingo Molnar 提交于
      nmi_cpu_busy() must be available on !SMP too.
      
      this is in preparation to a smp_call_function_mask() fix.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      0492007e
    • I
      x86: make ipi_handler() always defined · 4e2947f1
      Ingo Molnar 提交于
      prepare for up_smp_call_function() to ensure that the 'func'
      pointer is unused. (which is related to a KVM build fix)
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      4e2947f1
    • P
      sched: restore deterministic CPU accounting on powerpc · fa13a5a1
      Paul Mackerras 提交于
      Since powerpc started using CONFIG_GENERIC_CLOCKEVENTS, the
      deterministic CPU accounting (CONFIG_VIRT_CPU_ACCOUNTING) has been
      broken on powerpc, because we end up counting user time twice: once in
      timer_interrupt() and once in update_process_times().
      
      This fixes the problem by pulling the code in update_process_times
      that updates utime and stime into a separate function called
      account_process_tick.  If CONFIG_VIRT_CPU_ACCOUNTING is not defined,
      there is a version of account_process_tick in kernel/timer.c that
      simply accounts a whole tick to either utime or stime as before.  If
      CONFIG_VIRT_CPU_ACCOUNTING is defined, then arch code gets to
      implement account_process_tick.
      
      This also lets us simplify the s390 code a bit; it means that the s390
      timer interrupt can now call update_process_times even when
      CONFIG_VIRT_CPU_ACCOUNTING is turned on, and can just implement a
      suitable account_process_tick().
      
      account_process_tick() now takes the task_struct * as an argument.
      Tested both with and without CONFIG_VIRT_CPU_ACCOUNTING.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      fa13a5a1
  2. 09 11月, 2007 1 次提交
    • R
      [ARM] pxa: fix one-shot timer mode · 91bc51d8
      Russell King 提交于
      One-shot timer mode on PXA has various bugs which prevent kernels
      build with NO_HZ enabled booting.  They end up spinning on a
      permanently asserted timer interrupt because we don't properly
      clear it down - clearing the OIER bit does not stop the pending
      interrupt status.  Fix this in the set_mode handler as well.
      
      Moreover, the code which sets the next expiry point may race with
      the hardware, and we might not set the match register sufficiently
      in the future.  If we encounter that situation, return -ETIME so
      the generic time code retries.
      Acked-by: NThomas Gleixner <tglx@linutronix.de>
      Acked-by: NNicolas Pitre <nico@cam.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      91bc51d8
  3. 08 11月, 2007 25 次提交
  4. 07 11月, 2007 10 次提交