Merge branch 'x86/spinlocks' of git://git.kernel.org/pub/scm/linux/kernel/git/tip...
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 9 Sep 2013 16:01:15 +0000 (12:01 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 9 Sep 2013 16:01:15 +0000 (12:01 -0400)
* 'x86/spinlocks' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/kvm/guest: Fix sparse warning: "symbol 'klock_waiting' was not declared as static"
  kvm: Paravirtual ticketlocks support for linux guests running on KVM hypervisor
  kvm guest: Add configuration support to enable debug information for KVM Guests
  kvm uapi: Add KICK_CPU and PV_UNHALT definition to uapi
  xen, pvticketlock: Allow interrupts to be enabled while blocking
  x86, ticketlock: Add slowpath logic
  jump_label: Split jumplabel ratelimit
  x86, pvticketlock: When paravirtualizing ticket locks, increment by 2
  x86, pvticketlock: Use callee-save for lock_spinning
  xen, pvticketlocks: Add xen_nopvspin parameter to disable xen pv ticketlocks
  xen, pvticketlock: Xen implementation for PV ticket locks
  xen: Defer spinlock setup until boot CPU setup
  x86, ticketlock: Collapse a layer of functions
  x86, ticketlock: Don't inline _spin_unlock when using paravirt spinlocks
  x86, spinlock: Replace pv spinlocks with pv ticketlocks

1  2 
arch/x86/xen/smp.c

diff --combined arch/x86/xen/smp.c
@@@ -279,6 -279,7 +279,7 @@@ static void __init xen_smp_prepare_boot
  
        xen_filter_cpu_maps();
        xen_setup_vcpu_info_placement();
+       xen_init_spinlocks();
  }
  
  static void __init xen_smp_prepare_cpus(unsigned int max_cpus)
@@@ -572,12 -573,6 +573,12 @@@ static inline int xen_map_vector(int ve
        case IRQ_WORK_VECTOR:
                xen_vector = XEN_IRQ_WORK_VECTOR;
                break;
 +#ifdef CONFIG_X86_64
 +      case NMI_VECTOR:
 +      case APIC_DM_NMI: /* Some use that instead of NMI_VECTOR */
 +              xen_vector = XEN_NMI_VECTOR;
 +              break;
 +#endif
        default:
                xen_vector = -1;
                printk(KERN_ERR "xen: vector 0x%x is not implemented\n",
@@@ -686,7 -681,6 +687,6 @@@ void __init xen_smp_init(void
  {
        smp_ops = xen_smp_ops;
        xen_fill_possible_map();
-       xen_init_spinlocks();
  }
  
  static void __init xen_hvm_smp_prepare_cpus(unsigned int max_cpus)