1. 15 10月, 2008 5 次提交
  2. 20 9月, 2008 1 次提交
  3. 27 7月, 2008 1 次提交
    • J
      KVM: ia64: Fix irq disabling leak in error handling code · cab7a1ee
      Julia Lawall 提交于
      There is a call to local_irq_restore in the normal exit case, so it would
      seem that there should be one on an error return as well.
      
      The semantic patch that finds this problem is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @@
      expression l;
      expression E,E1,E2;
      @@
      
      local_irq_save(l);
      ... when != local_irq_restore(l)
          when != spin_unlock_irqrestore(E,l)
          when any
          when strict
      (
      if (...) { ... when != local_irq_restore(l)
                     when != spin_unlock_irqrestore(E1,l)
      +   local_irq_restore(l);
          return ...;
      }
      |
      if (...)
      +   {local_irq_restore(l);
          return ...;
      +   }
      |
      spin_unlock_irqrestore(E2,l);
      |
      local_irq_restore(l);
      )
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      cab7a1ee
  4. 20 7月, 2008 4 次提交
  5. 18 7月, 2008 1 次提交
    • T
      fix build error of arch/ia64/kvm/* · 2f73ccab
      Takashi Iwai 提交于
      Fix calls of smp_call_function*() in arch/ia64/kvm for recent API
      changes.
      
          CC [M]  arch/ia64/kvm/kvm-ia64.o
        arch/ia64/kvm/kvm-ia64.c: In function 'handle_global_purge':
        arch/ia64/kvm/kvm-ia64.c:398: error: too many arguments to function 'smp_call_function_single'
        arch/ia64/kvm/kvm-ia64.c: In function 'kvm_vcpu_kick':
        arch/ia64/kvm/kvm-ia64.c:1696: error: too many arguments to function 'smp_call_function_single'
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Acked-by Xiantao Zhang <xiantao.zhang@intel.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      2f73ccab
  6. 01 5月, 2008 1 次提交
    • R
      rename div64_64 to div64_u64 · 6f6d6a1a
      Roman Zippel 提交于
      Rename div64_64 to div64_u64 to make it consistent with the other divide
      functions, so it clearly includes the type of the divide.  Move its definition
      to math64.h as currently no architecture overrides the generic implementation.
       They can still override it of course, but the duplicated declarations are
      avoided.
      Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
      Cc: Avi Kivity <avi@qumranet.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Patrick McHardy <kaber@trash.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6f6d6a1a
  7. 27 4月, 2008 4 次提交