1. 10 6月, 2009 20 次提交
  2. 06 5月, 2009 1 次提交
  3. 22 4月, 2009 3 次提交
    • J
      KVM: ia64: fix locking order entering guest · d24d2c1c
      Jes Sorensen 提交于
      Reorder locking as down_read() may return with local interrupts enabled,
      which means we could go into vti_vcpu_run() with interrupts enabled.
      
      This caused random crashes on the Altix as the timer interrupt tried
      to read a memory mapped clock source, for which the TLB had not yet been
      reinstated in the exit, before ipsr was retored.
      Signed-off-by: NJes Sorensen <jes@sgi.com>
      Acked-by: NXiantao Zhang <xiantao.zhang@intel.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      d24d2c1c
    • D
      FRV: Fix the section attribute on UP DECLARE_PER_CPU() · 9b8de747
      David Howells 提交于
      In non-SMP mode, the variable section attribute specified by DECLARE_PER_CPU()
      does not agree with that specified by DEFINE_PER_CPU().  This means that
      architectures that have a small data section references relative to a base
      register may throw up linkage errors due to too great a displacement between
      where the base register points and the per-CPU variable.
      
      On FRV, the .h declaration says that the variable is in the .sdata section, but
      the .c definition says it's actually in the .data section.  The linker throws
      up the following errors:
      
      kernel/built-in.o: In function `release_task':
      kernel/exit.c:78: relocation truncated to fit: R_FRV_GPREL12 against symbol `per_cpu__process_counts' defined in .data section in kernel/built-in.o
      kernel/exit.c:78: relocation truncated to fit: R_FRV_GPREL12 against symbol `per_cpu__process_counts' defined in .data section in kernel/built-in.o
      
      To fix this, DECLARE_PER_CPU() should simply apply the same section attribute
      as does DEFINE_PER_CPU().  However, this is made slightly more complex by
      virtue of the fact that there are several variants on DEFINE, so these need to
      be matched by variants on DECLARE.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9b8de747
    • M
      clocksource: pass clocksource to read() callback · 8e19608e
      Magnus Damm 提交于
      Pass clocksource pointer to the read() callback for clocksources.  This
      allows us to share the callback between multiple instances.
      
      [hugh@veritas.com: fix powerpc build of clocksource pass clocksource mods]
      [akpm@linux-foundation.org: cleanup]
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Acked-by: NJohn Stultz <johnstul@us.ibm.com>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      8e19608e
  4. 21 4月, 2009 1 次提交
    • I
      [IA64] fix allmodconfig compilation breakage. · 05f0ecbd
      Isaku Yamahata 提交于
      This patch fixes the following compilation error caused by recursive
      inclusion of kernel.h which defines BUILD_BUG_ON().
      In this case, the case it catches will be caught by the case
      CONFIG_PARAVIRT=n, so removing it would not hurt compile time check
      very much. So fix the breakage by removing it.
      
        CC      arch/ia64/kernel/asm-offsets.s
      In file included from include/linux/bitops.h:17,
                       from include/linux/kernel.h:15,
                       from include/linux/sched.h:52,
                       from arch/ia64/kernel/asm-offsets.c:9:
      arch/ia64/include/asm/bitops.h: In function 'set_bit':
      arch/ia64/include/asm/bitops.h:47: error: implicit declaration of function 'BUILD_BUG_ON'
      Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      05f0ecbd
  5. 17 4月, 2009 2 次提交
  6. 14 4月, 2009 1 次提交
  7. 09 4月, 2009 1 次提交
  8. 07 4月, 2009 4 次提交
  9. 03 4月, 2009 6 次提交
  10. 02 4月, 2009 1 次提交