1. 16 12月, 2008 20 次提交
  2. 15 12月, 2008 1 次提交
  3. 14 12月, 2008 1 次提交
    • K
      powerpc/fsl-booke: Fix problem with _tlbil_va being interrupted · e5e774d8
      Kumar Gala 提交于
      An example calling sequence which we did see:
      
      copy_user_highpage -> kmap_atomic -> flush_tlb_page -> _tlbil_va
      
      We got interrupted after setting up the MAS registers before the
      tlbwe and the interrupt handler that caused the interrupt also did
      a kmap_atomic (ide code) and thus on returning from the interrupt
      the MAS registers no longer contained the proper values.
      
      Since we dont save/restore MAS registers for normal interrupts we
      need to disable interrupts in _tlbil_va to ensure atomicity.
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      e5e774d8
  4. 13 12月, 2008 4 次提交
  5. 11 12月, 2008 6 次提交
  6. 10 12月, 2008 7 次提交
  7. 08 12月, 2008 1 次提交
    • I
      x86: fix default_spin_lock_flags() prototype · 087052b0
      Ingo Molnar 提交于
      these warnings:
      
        arch/x86/kernel/paravirt-spinlocks.c: In function ‘default_spin_lock_flags’:
        arch/x86/kernel/paravirt-spinlocks.c:12: warning: passing argument 1 of ‘__raw_spin_lock’ from incompatible pointer type
        arch/x86/kernel/paravirt-spinlocks.c: At top level:
        arch/x86/kernel/paravirt-spinlocks.c:11: warning: ‘default_spin_lock_flags’ defined but not used
      
      showed that the prototype of default_spin_lock_flags() was confused about
      what type spinlocks have.
      
      the proper type on UP is raw_spinlock_t.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      087052b0