spinlock.c (f99e44a7f3352d7131c7526207f153f13ec5acd4) spinlock.c (cb91f8f44caf346654fe9b17b2b359b95f98c049)
1/*
2 * Split spinlock implementation out into its own file, so it can be
3 * compiled in a FTRACE-compatible way.
4 */
5#include <linux/kernel_stat.h>
6#include <linux/spinlock.h>
7#include <linux/debugfs.h>
8#include <linux/log2.h>

--- 350 unchanged lines hidden (view full) ---

359 return IRQ_HANDLED;
360}
361
362void __cpuinit xen_init_lock_cpu(int cpu)
363{
364 int irq;
365 const char *name;
366
1/*
2 * Split spinlock implementation out into its own file, so it can be
3 * compiled in a FTRACE-compatible way.
4 */
5#include <linux/kernel_stat.h>
6#include <linux/spinlock.h>
7#include <linux/debugfs.h>
8#include <linux/log2.h>

--- 350 unchanged lines hidden (view full) ---

359 return IRQ_HANDLED;
360}
361
362void __cpuinit xen_init_lock_cpu(int cpu)
363{
364 int irq;
365 const char *name;
366
367 WARN(per_cpu(lock_kicker_irq, cpu) > 0, "spinlock on CPU%d exists on IRQ%d!\n",
367 WARN(per_cpu(lock_kicker_irq, cpu) >= 0, "spinlock on CPU%d exists on IRQ%d!\n",
368 cpu, per_cpu(lock_kicker_irq, cpu));
369
370 /*
371 * See git commit f10cd522c5fbfec9ae3cc01967868c9c2401ed23
372 * (xen: disable PV spinlocks on HVM)
373 */
374 if (xen_hvm_domain())
375 return;

--- 103 unchanged lines hidden ---
368 cpu, per_cpu(lock_kicker_irq, cpu));
369
370 /*
371 * See git commit f10cd522c5fbfec9ae3cc01967868c9c2401ed23
372 * (xen: disable PV spinlocks on HVM)
373 */
374 if (xen_hvm_domain())
375 return;

--- 103 unchanged lines hidden ---