Loading include/linux/kernel_stat.h +0 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,6 @@ static inline unsigned int kstat_softirqs_cpu(unsigned int irq, int cpu) /* * Number of interrupts per specific IRQ source, since bootup */ extern unsigned int kstat_irqs(unsigned int irq); extern unsigned int kstat_irqs_usr(unsigned int irq); /* Loading kernel/irq/irqdesc.c +6 −13 Original line number Diff line number Diff line Loading @@ -924,15 +924,7 @@ static bool irq_is_nmi(struct irq_desc *desc) return desc->istate & IRQS_NMI; } /** * kstat_irqs - Get the statistics for an interrupt * @irq: The interrupt number * * Returns the sum of interrupt counts on all cpus since boot for * @irq. The caller must ensure that the interrupt is not removed * concurrently. */ unsigned int kstat_irqs(unsigned int irq) static unsigned int kstat_irqs(unsigned int irq) { struct irq_desc *desc = irq_to_desc(irq); unsigned int sum = 0; Loading @@ -951,13 +943,14 @@ unsigned int kstat_irqs(unsigned int irq) } /** * kstat_irqs_usr - Get the statistics for an interrupt * kstat_irqs_usr - Get the statistics for an interrupt from thread context * @irq: The interrupt number * * Returns the sum of interrupt counts on all cpus since boot for @irq. * Contrary to kstat_irqs() this can be called from any context. * It uses rcu since a concurrent removal of an interrupt descriptor is * observing an rcu grace period before delayed_free_desc()/irq_kobj_release(). * * It uses rcu to protect the access since a concurrent removal of an * interrupt descriptor is observing an rcu grace period before * delayed_free_desc()/irq_kobj_release(). */ unsigned int kstat_irqs_usr(unsigned int irq) { Loading Loading
include/linux/kernel_stat.h +0 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,6 @@ static inline unsigned int kstat_softirqs_cpu(unsigned int irq, int cpu) /* * Number of interrupts per specific IRQ source, since bootup */ extern unsigned int kstat_irqs(unsigned int irq); extern unsigned int kstat_irqs_usr(unsigned int irq); /* Loading
kernel/irq/irqdesc.c +6 −13 Original line number Diff line number Diff line Loading @@ -924,15 +924,7 @@ static bool irq_is_nmi(struct irq_desc *desc) return desc->istate & IRQS_NMI; } /** * kstat_irqs - Get the statistics for an interrupt * @irq: The interrupt number * * Returns the sum of interrupt counts on all cpus since boot for * @irq. The caller must ensure that the interrupt is not removed * concurrently. */ unsigned int kstat_irqs(unsigned int irq) static unsigned int kstat_irqs(unsigned int irq) { struct irq_desc *desc = irq_to_desc(irq); unsigned int sum = 0; Loading @@ -951,13 +943,14 @@ unsigned int kstat_irqs(unsigned int irq) } /** * kstat_irqs_usr - Get the statistics for an interrupt * kstat_irqs_usr - Get the statistics for an interrupt from thread context * @irq: The interrupt number * * Returns the sum of interrupt counts on all cpus since boot for @irq. * Contrary to kstat_irqs() this can be called from any context. * It uses rcu since a concurrent removal of an interrupt descriptor is * observing an rcu grace period before delayed_free_desc()/irq_kobj_release(). * * It uses rcu to protect the access since a concurrent removal of an * interrupt descriptor is observing an rcu grace period before * delayed_free_desc()/irq_kobj_release(). */ unsigned int kstat_irqs_usr(unsigned int irq) { Loading