Release 4.14 arch/mips/kernel/i8253.c
// SPDX-License-Identifier: GPL-2.0
/*
* i8253.c 8253/PIT functions
*
*/
#include <linux/clockchips.h>
#include <linux/i8253.h>
#include <linux/export.h>
#include <linux/smp.h>
#include <linux/irq.h>
#include <asm/time.h>
static irqreturn_t timer_interrupt(int irq, void *dev_id)
{
i8253_clockevent.event_handler(&i8253_clockevent);
return IRQ_HANDLED;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 22 | 91.67% | 2 | 50.00% |
Thomas Gleixner | 2 | 8.33% | 2 | 50.00% |
Total | 24 | 100.00% | 4 | 100.00% |
static struct irqaction irq0 = {
.handler = timer_interrupt,
.flags = IRQF_NOBALANCING | IRQF_TIMER,
.name = "timer"
};
void __init setup_pit_timer(void)
{
clockevent_i8253_init(true);
setup_irq(0, &irq0);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 19 | 90.48% | 1 | 50.00% |
Thomas Gleixner | 2 | 9.52% | 1 | 50.00% |
Total | 21 | 100.00% | 2 | 100.00% |
static int __init init_pit_clocksource(void)
{
if (num_possible_cpus() > 1) /* PIT does not scale! */
return 0;
return clocksource_i8253_init();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 22 | 91.67% | 1 | 50.00% |
Russell King | 2 | 8.33% | 1 | 50.00% |
Total | 24 | 100.00% | 2 | 100.00% |
arch_initcall(init_pit_clocksource);
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Ralf Bächle | 105 | 88.98% | 4 | 36.36% |
Thomas Gleixner | 4 | 3.39% | 2 | 18.18% |
David Howells | 3 | 2.54% | 1 | 9.09% |
Russell King | 2 | 1.69% | 1 | 9.09% |
Wu Zhangjin | 2 | 1.69% | 1 | 9.09% |
Greg Kroah-Hartman | 1 | 0.85% | 1 | 9.09% |
Paul Gortmaker | 1 | 0.85% | 1 | 9.09% |
Total | 118 | 100.00% | 11 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.